PR lto/84212 - -Wno-* does not disable warnings from -flto link stage
[official-gcc.git] / gcc / testsuite / g++.dg / warn / Wsubobject-linkage-2.C
blob4bb255c79a155e25c08049de055bcb6863bad698
1 // PR c++/53184
2 // { dg-options "-Wno-subobject-linkage" }
4 typedef volatile struct { } Foo;
6 #line 7 "foo.C"
7 struct Bar { Foo foo; };
8 struct Bar2 : Foo { };