mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-12 11:29:30 +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");
|
|
}
|