1 #include <stdlib.h> 2 3 extern int foo; 4 int foo2 = 2; 5 6 void 7 bar (void) 8 { 9 if (foo != 30) 10 abort (); 11 } 12