rt_gccstream/gcc/testsuite/gcc.dg/pr20672-1.c

8 lines
194 B
C

/* 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" } */