diff options
Diffstat (limited to 'test/CodeGenCXX/debug-info-limited.cpp')
-rw-r--r-- | test/CodeGenCXX/debug-info-limited.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/test/CodeGenCXX/debug-info-limited.cpp b/test/CodeGenCXX/debug-info-limited.cpp index 294d1f6b6d20..d56e5b670a16 100644 --- a/test/CodeGenCXX/debug-info-limited.cpp +++ b/test/CodeGenCXX/debug-info-limited.cpp @@ -1,6 +1,8 @@ // RUN: %clang -flimit-debug-info -emit-llvm -g -S %s -o - | FileCheck %s -// CHECK: ; [ DW_TAG_class_type ] [A] {{.*}} [def] +// CHECK: !DICompositeType(tag: DW_TAG_class_type, name: "A" +// CHECK-NOT: DIFlagFwdDecl +// CHECK-SAME: ){{$}} class A { public: int z; @@ -11,7 +13,9 @@ A *foo (A* x) { return a; } -// CHECK: ; [ DW_TAG_class_type ] [B] {{.*}} [def] +// CHECK: !DICompositeType(tag: DW_TAG_class_type, name: "B" +// CHECK-NOT: DIFlagFwdDecl +// CHECK-SAME: ){{$}} class B { public: @@ -24,7 +28,8 @@ int baz(B *b) { } -// CHECK: ; [ DW_TAG_structure_type ] [C] {{.*}} [decl] +// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "C" +// CHECK-SAME: flags: DIFlagFwdDecl struct C { }; |