1 // PR c++/46117 2 3 struct A 4 { 5 A (typename int); // { dg-error "before|declaration" } 6 }; 7 8 struct B : A {}; 9 10 B b; 11