Commit | Line | Data |
---|---|---|
00564418 L |
1 | #include <stdlib.h> |
2 | #include <stdio.h> | |
3 | ||
4 | extern int visibility_var_weak | |
5 | __attribute__ ((weak, visibility ("hidden"))); | |
6 | ||
7 | int | |
8 | main () | |
9 | { | |
10 | if (&visibility_var_weak != NULL) | |
11 | abort (); | |
12 | ||
13 | printf ("PASS\n"); | |
14 | ||
15 | return 0; | |
16 | } |