8sa1-gcc/gcc/testsuite/gcc.c-torture/unsorted/jumptab.c
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

21 lines
248 B
C

jumptab (a)
{
int b;
switch (a)
{
case 0:
b = 6;break;
case 1:
b = 5;break;
case 2:
b = 4;break;
case 3:
b = 3;break;
case 4:
b = 2;break;
case 5:
b = 1;break;
}
return b;
}