diff options
Diffstat (limited to 'test/CodeGenCXX/debug-info-union.cpp')
-rw-r--r-- | test/CodeGenCXX/debug-info-union.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/test/CodeGenCXX/debug-info-union.cpp b/test/CodeGenCXX/debug-info-union.cpp index 0aa48dc..a81a560 100644 --- a/test/CodeGenCXX/debug-info-union.cpp +++ b/test/CodeGenCXX/debug-info-union.cpp @@ -10,7 +10,11 @@ union E { E e; -// CHECK: {{.*}} ; [ DW_TAG_union_type ] [E] [line 3, size 32, align 32, offset 0] -// CHECK: {{.*}} ; [ DW_TAG_subprogram ] [line 6] [bb] -// CHECK: {{.*}} ; [ DW_TAG_subprogram ] [line 7] [aa] -// CHECK: {{.*}} ; [ DW_TAG_subprogram ] [line 8] [E] +// CHECK: !DICompositeType(tag: DW_TAG_union_type, name: "E" +// CHECK-SAME: line: 3 +// CHECK-SAME: size: 32, align: 32 +// CHECK-NOT: offset: +// CHECK-SAME: {{$}} +// CHECK: !DISubprogram(name: "bb"{{.*}}, line: 6 +// CHECK: !DISubprogram(name: "aa"{{.*}}, line: 7 +// CHECK: !DISubprogram(name: "E"{{.*}}, line: 8 |