summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20050209-1.c
blob: 0a62ce3518b0c81336b9d53d8c37cbe008d2e23b (plain)
1
2
3
4
5
/* Test for infinite loop in parser error recovery.  From Serge
   Belyshev <ssb> on IRC.  */
/* { dg-do compile } */
/* { dg-options "" } */
int f() { return 1); } /* { dg-error "parse|syntax|expected" } */