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