[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / pr30189.c
blob2f332fb0c39b88c43b189b88d143495b62646dcd
1 /* { dg-do compile } */
2 /* { dg-options "-g -O" } */
4 extern void foo (void);
6 static
7 void baz (int i)
9 foo ();
10 typedef char A[i];
11 struct { A b; } *x = 0;
14 void
15 bar (int i)
17 baz (i);