Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
crash49.C
blob: a922ef3cfc749f6b360b0b4fe6c5b362d61e11a5 [
file
] [
log
] [
blame
]
// PR c++/37552
// { dg-do compile }
extern
struct
A a
[
1
];
// { dg-message "forward declaration" }
void
foo
()
{
a
[
0
];
// { dg-error "invalid use of incomplete type" }
}