Author: steveire
Date: Sun Dec  9 05:13:41 2018
New Revision: 348713

URL: http://llvm.org/viewvc/llvm-project?rev=348713&view=rev
Log:
Fix InitListExpr test

Wrong case of Check meant this has no effect.

Modified:
    cfe/trunk/test/AST/ast-dump-stmt.cpp

Modified: cfe/trunk/test/AST/ast-dump-stmt.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/AST/ast-dump-stmt.cpp?rev=348713&r1=348712&r2=348713&view=diff
==============================================================================
--- cfe/trunk/test/AST/ast-dump-stmt.cpp (original)
+++ cfe/trunk/test/AST/ast-dump-stmt.cpp Sun Dec  9 05:13:41 2018
@@ -89,12 +89,12 @@ union U {
 void TestUnionInitList()
 {
   U us[3] = {1};
-// Check: VarDecl {{.+}} <col:3, col:18> col:5 us 'U [3]' cinit
-// Check-NEXT: `-InitListExpr {{.+}} <col:13, col:18> 'U [3]'
-// Check-NEXT:   |-array filler
-// Check-NEXT:   | `-InitListExpr {{.+}} <col:18> 'U' field Field {{.+}} 'i' 
'int'
-// Check-NEXT:   |-InitListExpr {{.+}} <col:14> 'U' field Field {{.+}} 'i' 
'int'
-// Check-NEXT:   | `-IntegerLiteral {{.+}} <col:14> 'int' 1
+// CHECK: VarDecl {{.+}} <col:3, col:15> col:5 us 'U [3]' cinit
+// CHECK-NEXT: `-InitListExpr {{.+}} <col:13, col:15> 'U [3]'
+// CHECK-NEXT:   |-array filler
+// CHECK-NEXT:   | `-InitListExpr {{.+}} <col:15> 'U' field Field {{.+}} 'i' 
'int'
+// CHECK-NEXT:   `-InitListExpr {{.+}} <col:14> 'U' field Field {{.+}} 'i' 
'int'
+// CHECK-NEXT:     `-IntegerLiteral {{.+}} <col:14> 'int' 1
 }
 
 void TestSwitch(int i) {


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to