summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/noncompile/pr40033-1.c
blob: 4f07442078314198a824bb32461ba71b3570e3db (plain)
1
2
3
4
5
6
7
/* ICE from error_mark_node being wrapped in a C_MAYBE_CONST_EXPR.  PR
   40033.  */

void foo()
{
  ({ 0,; }); /* { dg-error "expected" } */
}