gcc/testsuite/gcc.dg/attr-weakref-1b.c
raw| 1 | /* On Darwin, you have to have a definition of the function to link, |
| 2 | even if later on it won't be present in some dylib. (That is, |
| 3 | you have to link with the latest version of the dylib.) */ |
| 4 | void wf1(void) { } |
| 5 | void wf6(void) { } |
| 6 | void wf9(void) { } |
| 7 | void wf10(void) { } |
| 8 | void wf11(void) { } |
| 9 | void wf12(void) { } |
| 10 | void wf13(void) { } |
| 11 | void wf14(void) { } |
| 12 | |
| 13 | int wv1; |
| 14 | int wv6; |
| 15 | int wv9; |
| 16 | int wv10; |
| 17 | int wv11; |
| 18 | int wv12; |
| 19 | int wv13; |
| 20 | int wv14; |