From 2ac0c371d0d9d26d7ceb2f4fa0d70b9bd402ff70 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sun, 9 Dec 2018 13:13:41 +0000 Subject: [PATCH] Fix InitListExpr test Wrong case of Check meant this has no effect. llvm-svn: 348713 --- clang/test/AST/ast-dump-stmt.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/clang/test/AST/ast-dump-stmt.cpp b/clang/test/AST/ast-dump-stmt.cpp index 6c82805..671bdd6 100644 --- a/clang/test/AST/ast-dump-stmt.cpp +++ b/clang/test/AST/ast-dump-stmt.cpp @@ -89,12 +89,12 @@ union U { void TestUnionInitList() { U us[3] = {1}; -// Check: VarDecl {{.+}} col:5 us 'U [3]' cinit -// Check-NEXT: `-InitListExpr {{.+}} 'U [3]' -// Check-NEXT: |-array filler -// Check-NEXT: | `-InitListExpr {{.+}} 'U' field Field {{.+}} 'i' 'int' -// Check-NEXT: |-InitListExpr {{.+}} 'U' field Field {{.+}} 'i' 'int' -// Check-NEXT: | `-IntegerLiteral {{.+}} 'int' 1 +// CHECK: VarDecl {{.+}} col:5 us 'U [3]' cinit +// CHECK-NEXT: `-InitListExpr {{.+}} 'U [3]' +// CHECK-NEXT: |-array filler +// CHECK-NEXT: | `-InitListExpr {{.+}} 'U' field Field {{.+}} 'i' 'int' +// CHECK-NEXT: `-InitListExpr {{.+}} 'U' field Field {{.+}} 'i' 'int' +// CHECK-NEXT: `-IntegerLiteral {{.+}} 'int' 1 } void TestSwitch(int i) { -- 2.7.4