1 extern int bar(int); 2 foo(int x)3int foo(int x) 4 { 5 return 1 + bar( 6 ({ 7 int y; 8 switch (x) 9 { 10 case 0: y = 1; break; 11 case 1: y = 2; break; 12 case 2: y = 3; break; 13 case 3: y = 4; break; 14 case 4: y = 5; break; 15 case 5: y = 6; break; 16 default: y = 7; break; 17 } 18 y; 19 }) 20 ); 21 } 22