Back to index

cell-binutils  2.17cvs20070401
dl2main.c
Go to the documentation of this file.
00001 #include <stdio.h>
00002 
00003 extern int foo;
00004 extern void bar (void);
00005 
00006 void
00007 xxx (void)
00008 {
00009   printf ("MAIN\n");
00010 }
00011 
00012 int
00013 main (void)
00014 {
00015   foo = 1;
00016   bar ();
00017   if (foo == -1)
00018     printf ("OK1\n");
00019   else if (foo == 1)
00020     printf ("OK2\n");
00021   return 0;
00022 }