diff options
Diffstat (limited to 'test/CodeGenCXX/Inputs/debug-info-class-limited.cpp')
| -rw-r--r-- | test/CodeGenCXX/Inputs/debug-info-class-limited.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/test/CodeGenCXX/Inputs/debug-info-class-limited.cpp b/test/CodeGenCXX/Inputs/debug-info-class-limited.cpp index 17fa456a45d9..34a1cfa00e2c 100644 --- a/test/CodeGenCXX/Inputs/debug-info-class-limited.cpp +++ b/test/CodeGenCXX/Inputs/debug-info-class-limited.cpp @@ -1,5 +1,6 @@ -// CHECK-DAG: !DICompositeType(tag: DW_TAG_structure_type, name: "PR16214",{{.*}} line: [[@LINE+1]],{{.*}} isDefinition: true +// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "PR16214",{{.*}} line: [[@LINE+2]],{{.*}} +// CHECK-NOT: DIFlagFwdDecl struct PR16214 { int i; }; @@ -10,7 +11,8 @@ bar *a; bar b; namespace PR14467 { -// CHECK-DAG: !DICompositeType(tag: DW_TAG_structure_type, name: "foo",{{.*}} line: [[@LINE+1]],{{.*}} isDefinition: true +// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "foo",{{.*}} line: [[@LINE+2]],{{.*}} +// CHECK-NOT: DIFlagFwdDecl struct foo { }; @@ -21,7 +23,7 @@ foo *bar(foo *a) { } namespace test1 { -// CHECK-DAG: !DICompositeType(tag: DW_TAG_structure_type, name: "foo",{{.*}} line: [[@LINE+1]],{{.*}} isDefinition: true +// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "foo",{{.*}} line: [[@LINE+1]],{{.*}} flags: DIFlagFwdDecl struct foo { }; @@ -35,7 +37,8 @@ namespace test2 { // FIXME: if we were a bit fancier, we could realize that the 'foo' type is only // required because of the 'bar' type which is not required at all (or might // only be required to be declared) -// CHECK-DAG: !DICompositeType(tag: DW_TAG_structure_type, name: "foo",{{.*}} line: [[@LINE+1]],{{.*}} isDefinition: true +// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "foo",{{.*}} line: [[@LINE+2]],{{.*}} +// CHECK-NOT: DIFlagFwdDecl struct foo { }; |
