predicate aware uninitialized analysis
[official-gcc.git] / gcc / testsuite / g++.dg / parse / struct-4.C
blob559411a19cf22d21f6e60cb19499208a140ce00d
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 };