blob: 19dce5438713eff886f316e0a7372dd1fdc50ac3 [file] [log] [blame]
#if !defined(__linux__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
extern int test_weak () __attribute__ ((weak_import));
#else
extern int test_weak () __attribute__ ((weak));
#endif
int main(){
int (*t)() = test_weak;
if (t)
return t();
else return 250;
}