1 2 3 4 5 6 7 8 9 10 11 12
// { dg-do compile } // { dg-options "-femit-struct-debug-baseonly" } struct A { void foo (); }; struct B : A { typedef const A base; using base::foo; };