foo.c
extern int foobar __attribute__((weak)); | |
int main(int argc, char *argv[]) { | |
return foobar; | |
} |