mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-23 15:32:26 +00:00
15 lines
192 B
C
15 lines
192 B
C
#include <stdio.h>
|
|
|
|
int bar = 10;
|
|
|
|
void
|
|
foo (void)
|
|
{
|
|
if (bar == 10)
|
|
printf ("bar is in DSO.\n");
|
|
else if (bar == -20)
|
|
printf ("bar is in main.\n");
|
|
else
|
|
printf ("FAIL\n");
|
|
}
|