Home | History | Annotate | Download | only in ld-elf
      1 #include <stdio.h>
      2 
      3 int foo;
      4 
      5 extern void xxx (void);
      6 
      7 void
      8 bar (int x)
      9 {
     10   if (foo == 1)
     11     printf ("OK1\n");
     12   else if (foo == 0)
     13     printf ("OK2\n");
     14   foo = -1;
     15   xxx ();
     16 }
     17