diff --git a/clang/test/AST/ast-dump-stmt.cpp b/clang/test/AST/ast-dump-stmt.cpp index 6c8280562e4a..671bdd64544b 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) {