Debian Codegraph @

gcc/testsuite/g++.dg/warn/Wsubobject-linkage-4.C

raw
1 // PR c++/53184
2 // { dg-options "-Wno-subobject-linkage" }
3
4 namespace { struct Foo { }; }
5
6 #line 7 "foo.C"
7 struct Bar { Foo foo; };
8 struct Bar2 : Foo { };