summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/noncompile/pr35447-1.c
blob: 9c31e9bb617c5f4b9bd05f6a511887a4860d9327 (plain)
1
2
3
4
5
6
7
/* ICE arising from preparing to enter a scope for a nested function
   but never doing so.  PR 35447.  */

void foo()
{
  ({ int i().; }); /* { dg-error "expected" } */
} /* { dg-error "expected" } */