mips.h (ISA_HAS_DSP, [...]): New macros.
[official-gcc.git] / gcc / testsuite / gcc.dg / 20021116-1.c
blob4d3afc7b47842a733c0a1f6871242751770f9776
1 /* { dg-do compile { target fpic } } */
2 /* { dg-options "-O2 -fpic" } */
4 void **
5 foo (void **x, int y, void *z)
7 switch (y)
9 case 162:
10 *x = z;
11 break;
12 case 164:
13 *x = z;
14 break;
15 case 165:
16 *x = z;
17 break;
18 case 166:
19 *x = z;
20 break;
21 case 163:
22 *x = z;
23 break;
24 default:
25 goto out;
27 return x;
29 out:
30 return (void **) 0;