summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/switch-A.c
blob: 3bc04c017296ef4a659083478784226900377f8d (plain)
1
2
3
4
5
6
7
/* { dg-do compile } */

void foo()
{
  switch (,) { } /* { dg-error "expected expression before" } */
}