summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.dg/pr20245-1.c
blob: 51089c6e996f62cae4e5bb9f44a2b439b80f21b4 (plain)
1
2
3
4
5
/* Bug 20245: the parse error should not result in an ICE.  */
/* { dg-do compile } */
/* { dg-options "" } */

void foo() x; /* { dg-error "expected" } */
OpenPOWER on IntegriCloud