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