Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.old-deja/g++.brendan/crash22.C @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
4 void a1(); | 4 void a1(); |
5 void a2(); | 5 void a2(); |
6 }; | 6 }; |
7 | 7 |
8 struct B { | 8 struct B { |
9 void A::a1(); // this used to die in chainon(), now grokdeclarator should// { dg-error "" } cannot declare.* | 9 void A::a1(); // this used to die in chainon(), now grokdeclarator should// { dg-error "10:cannot declare" } cannot declare.* |
10 void A::a2(); // should be fixed by the 930629 change.// { dg-error "" } cannot declare.* | 10 void A::a2(); // should be fixed by the 930629 change.// { dg-error "10:cannot declare" } cannot declare.* |
11 }; | 11 }; |