mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-26 00:32:02 +00:00
15 lines
160 B
C
15 lines
160 B
C
#include <stdio.h>
|
|
|
|
int x;
|
|
|
|
__attribute__((weak))
|
|
void foobar (void) { x++; }
|
|
|
|
int main (void)
|
|
{
|
|
foobar ();
|
|
if (x == -1)
|
|
printf ("OK\n");
|
|
return 0;
|
|
}
|