blob: e4f499fccb011e26e688f0c80a35a7ad86f330ac (
plain)
1
2
3
4
5
6
7
|
/* Test visibility attribute on forward declaration of global variable */
/* { dg-require-visibility "" }
/* { dg-final { scan-hidden "xyzzy" } } */
int
__attribute__((visibility ("hidden")))
xyzzy = 5;
|