12 lines
176 B
C
12 lines
176 B
C
|
/* 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'" } */
|
||
|
|
||
|
}
|