Reverting merge from trunk
[official-gcc.git] / gcc / testsuite / gcc.dg / parse-error-3.c
blob8e72b8170afdec58f613ac646d9102119b33da96
1 /* PR c/43384 */
2 /* { dg-do compile } */
4 void c_direct(par)
5 void *par = &&lab; /* { dg-error "is initialized|non-standard|outside of" } */
6 {}
8 void foo(p, q)
9 int *p = &q; /* { dg-error "initialized|undeclared" } */
12 void bar(i)
13 int j = i; /* { dg-error "initialized|undeclared|no such parameter" } */