PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / struct-parse-2.c
blob6d01f3e88aa6aac47fa902b7864ade59ace1d74f
1 /* PR c/35437 */
2 /* { dg-do compile } */
4 struct A
6 int i;
7 struct A a; /* { dg-error "has incomplete type" } */
8 };
10 void foo()
12 struct A b = { 0 };