mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
23 lines
238 B
C
23 lines
238 B
C
|
#include <stdio.h>
|
||
|
|
||
|
extern int foo;
|
||
|
extern void bar (void);
|
||
|
|
||
|
void
|
||
|
xxx (void)
|
||
|
{
|
||
|
printf ("MAIN\n");
|
||
|
}
|
||
|
|
||
|
int
|
||
|
main (void)
|
||
|
{
|
||
|
foo = 1;
|
||
|
bar ();
|
||
|
if (foo == -1)
|
||
|
printf ("OK1\n");
|
||
|
else if (foo == 1)
|
||
|
printf ("OK2\n");
|
||
|
return 0;
|
||
|
}
|