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" }
}