OSDN Git Service

* call.c (add_candidates): Distinguish between type(x) and
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / parse / crash49.C
1 // PR c++/37552
2 // { dg-do compile }
3
4 extern struct A a[1];   // { dg-error "forward declaration" }
5
6 void
7 foo ()
8 {
9   a[0];                 // { dg-error "invalid use of incomplete type" }
10 }