summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr20672-1.c
blob: e47fef3fa4338d02f6e687a7fd8d3f5d3a50e1e2 (plain)
1
2
3
4
5
6
7
/* EOF must cause an error inside a function, not just set parser->error.
   Bug 20672.  */
/* { dg-do compile } */
/* { dg-options "" } */
int main(void)
{
int a; /* { dg-error "expected" } */