blob: cb5a71524f6b5d88ca13dfc9fd7d9358246dbced [file] [log] [blame]
/* Test visibility attribute on forward declaration of global variable */
/* { dg-do compile } */
/* { dg-require-visibility "" } */
/* { dg-final { scan-hidden "xyzzy" } } */
int
__attribute__((visibility ("hidden")))
xyzzy = 5;