allocate_deferred_char_scalar_1.f03: Fix dg-do syntax.
[platform/upstream/gcc.git] / gcc / testsuite / g++.dg / parse / struct-4.C
1 /* PR c/35437 */
2 /* { dg-do compile } */
3
4 struct A
5 {
6   int i;
7   struct A a; /* { dg-error "has incomplete type" } */
8 };
9
10 void foo()
11 {
12   struct A b = { 0 };
13 }