1 extern void 2 bar (int x); 3 4 inline void foo(int i)5foo (int i) 6 { 7 switch (i) 8 { 9 case 3: 10 case 5: 11 case 6: 12 case 9: 13 case 15: 14 bar (1); 15 break; 16 case 2: 17 case 4: 18 case 7: 19 case 10: 20 case 11: 21 case 12: 22 bar (2); 23 break; 24 case 0: 25 case 1: 26 case 8: 27 case 13: 28 case 16: 29 bar (3); 30 break; 31 case 14: 32 bar (4); 33 break; 34 default: 35 bar (5); 36 break; 37 } 38 } 39 40 void *fooaddr2 = (void *) foo; 41