From 650794aa0eac720e200d0e73b24ca1f9c61bb3c5 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@348713 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/AST/ast-dump-stmt.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/AST/ast-dump-stmt.cpp b/test/AST/ast-dump-stmt.cpp index 6c8280562e..671bdd6454 100644 --- a/test/AST/ast-dump-stmt.cpp +++ b/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.40.0