summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr21356.c
blob: b072b5165188287c907f6fc7a24524920103021f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
int a;
void* p;

void foo (void)
{
  switch (a)
  {
    a0: case 0:   p = &&a1;
    a1: case 1:   p = &&a2;
    a2: default:  p = &&a1;
  }
  goto *p;
}