summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr35443.c
blob: 5dfc299e79674c702443af4c9fe23b1cbd56b279 (plain)
1
2
3
4
5
6
7
8
9
/* PR c/35443 */
/* { dg-options "" } */
/* { dg-bogus "not supported by" "" { target *-*-* } 0 } */

void
foo ()
{
  ({ int i; i; })();	/* { dg-error "is not a function" } */
}