_POSIX_C_SOURCE >= 200112L implies C99.
[glibc/history.git] / elf / unload7mod1.c
blob7435adce2c0fae6944df3da704c7e412feccacd3
1 #include <dlfcn.h>
2 #include <stdio.h>
4 int
5 foo (int i)
7 if (dlsym (RTLD_DEFAULT, "unload7_nonexistent_symbol") == NULL)
8 return 1;
9 puts ("dlsym returned non-NULL");
10 return 0;