1 2 3 4 5 6 7 8 9 10 11
/* Parse error recovery { dg-do compile } { dg-options "-fsyntax-only" } */ void f(x) { if (x > 1) int ret = 1; /* { dg-error "expected expression before 'int'" } */ }