aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/crash22.C
blob: f7db97d43e9194a07182cdd71d41ee091c5c11d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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.*
};