mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-19 15:23:30 +08:00
18 lines
190 B
C
18 lines
190 B
C
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
int foo;
|
||
|
void bar (void);
|
||
|
|
||
|
int
|
||
|
main ()
|
||
|
{
|
||
|
if (foo != 0)
|
||
|
abort ();
|
||
|
foo = 200;
|
||
|
bar ();
|
||
|
if (foo == 200)
|
||
|
printf ("PASS\n");
|
||
|
return 0;
|
||
|
}
|