Corrected date in changelog
[official-gcc.git] / gcc / testsuite / gcc.dg / parse-decl-after-if.c
blob09afa37b472d17cc622482c80517705229f5a811
1 /* Parse error recovery
2 { dg-do compile }
3 { dg-options "-fsyntax-only" }
4 */
6 void f(int x)
8 if (x > 1)
9 int ret = 1; /* { dg-error "expected expression before 'int'" } */