blob: 7e56892c7e9ded12198d0b588fe1eee805102644 [file] [log] [blame]
// { dg-do assemble }
// GROUPS passed old-abort
struct A {
void a1();
void a2();
};
struct B {
void A::a1(); // this used to die in chainon(), now grokdeclarator should// { dg-error "10:cannot declare" } cannot declare.*
void A::a2(); // should be fixed by the 930629 change.// { dg-error "10:cannot declare" } cannot declare.*
};