1 2 extern void abort (void); 3 extern void link_error (void); 4 5 static int ok = 0; 6 bar(void)7void bar (void) 8 { 9 ok = 1; 10 } 11 foo(int x)12void foo(int x) 13 { 14 switch (x) 15 { 16 case 0: 17 if (0) 18 { 19 link_error(); 20 case 1: 21 bar(); 22 } 23 } 24 } 25 main()26int main() 27 { 28 foo (1); 29 if (!ok) 30 abort (); 31 return 0; 32 } 33 34