Debian Codegraph @

gcc/testsuite/g++.dg/parse/crash69.C

raw
1 // PR c++/84605
2
3 struct b {
4 int x(((struct b {}))); // { dg-error "expected|redefinition" }
5 };
6
7 struct c {
8 struct d {
9 int x(((struct c {}))); // { dg-error "expected|redefinition" }
10 };
11 };