* gcc.dg/predict-12.c: New testcase.
[official-gcc.git] / gcc / testsuite / gcc.dg / two-types-6.c
blob1c55549162c2e67e019a80f683d03ce947a434d0
1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu89" } // suppress default -pedantic-errors */
4 struct s {
5 struct f {} /* dg-warning "does not declare anything" "" } */
6 struct g {} x; /* { dg-error "expected ';', identifier or " "" } */
7 };