#include void foo(void) __attribute__((__weak__)); int main(void) { printf("%p\n", (void*)foo); }