1 #include <stdio.h> 2 3 extern int bar; 4 5 void 6 foo (void) 7 { 8 if (bar == -20) 9 printf ("OK\n"); 10 } 11