aboutsummaryrefslogtreecommitdiff
path: root/test/CXX/expr/expr.cast/p4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CXX/expr/expr.cast/p4.cpp')
-rw-r--r--test/CXX/expr/expr.cast/p4.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CXX/expr/expr.cast/p4.cpp b/test/CXX/expr/expr.cast/p4.cpp
index d3f978571b..907e008724 100644
--- a/test/CXX/expr/expr.cast/p4.cpp
+++ b/test/CXX/expr/expr.cast/p4.cpp
@@ -7,16 +7,16 @@ struct C : A, B { };
// CHECK: casting_away_constness
void casting_away_constness(const B &b, const C &c, const B *bp, const C *cp) {
// CHECK: DerivedToBase (B)
- // CHECK: DeclRefExpr {{.*}} ParmVar='c'
+ // CHECK: DeclRefExpr {{.*}} ParmVar {{.*}} 'c'
(void)(B&)c;
// CHECK: BaseToDerived (B)
- // CHECK: DeclRefExpr {{.*}} ParmVar='b'
+ // CHECK: DeclRefExpr {{.*}} ParmVar {{.*}} 'b'
(void)(C&)b;
// CHECK: DerivedToBase (B)
- // CHECK: DeclRefExpr {{.*}} ParmVar='cp'
+ // CHECK: DeclRefExpr {{.*}} ParmVar {{.*}} 'cp'
(void)(B*)cp;
// CHECK: BaseToDerived (B)
- // CHECK: DeclRefExpr {{.*}} ParmVar='bp'
+ // CHECK: DeclRefExpr {{.*}} ParmVar {{.*}} 'bp'
(void)(C*)bp;
// CHECK: ReturnStmt
return;