Commit | Line | Data |
---|---|---|
f8745e1c EB |
1 | #include <stdio.h> |
2 | ||
3 | extern unsigned int foo (void); | |
4 | ||
5 | __attribute__((visibility("hidden"))) unsigned int var = 0xdeadbeef; | |
6 | ||
7 | int main (void) | |
8 | { | |
9 | if (var == foo ()) | |
10 | puts ("PASS"); | |
11 | ||
12 | return 0; | |
13 | } |