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