Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / warn / Wsubobject-linkage-4.C
blob033bc473005bbe44b35f02978d9da31177b5626e
1 // PR c++/53184
2 // { dg-options "-Wno-subobject-linkage" }
4 namespace { struct Foo { }; }
6 #line 7 "foo.C"
7 struct Bar { Foo foo; };
8 struct Bar2 : Foo { };