Debian Codegraph @

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

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