2 // CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "PR16214",{{.*}} line: [[@LINE+2]],{{.*}}
3 // CHECK-NOT: DIFlagFwdDecl
14 // CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "foo",{{.*}} line: [[@LINE+2]],{{.*}}
15 // CHECK-NOT: DIFlagFwdDecl
26 // CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "foo",{{.*}} line: [[@LINE+1]],{{.*}} flags: DIFlagFwdDecl
30 extern int bar(foo
*a
);
37 // FIXME: if we were a bit fancier, we could realize that the 'foo' type is only
38 // required because of the 'bar' type which is not required at all (or might
39 // only be required to be declared)
40 // CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "foo",{{.*}} line: [[@LINE+2]],{{.*}}
41 // CHECK-NOT: DIFlagFwdDecl