8sa1-gcc/gcc/testsuite/g++.old-deja/g++.brendan/crash22.C
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

12 lines
301 B
C

// Build don't link:
// GROUPS passed old-abort
struct A {
void a1();
void a2();
};
struct B {
void A::a1(); // this used to die in chainon(), now grokdeclarator should// ERROR - cannot declare.*
void A::a2(); // should be fixed by the 930629 change.// ERROR - cannot declare.*
};