Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
gcc.dg
/
visibility-4.c
blob: af0d461c3d9eb0c5f694e6d8d54675c2defb9bc2 [
file
] [
log
] [
blame
]
/* Test visibility attribute on forward declaration of global variable */
/* { dg-do compile } */
/* { dg-require-visibility "" } */
/* { dg-final { scan-hidden "xyzzy" } } */
extern
int
__attribute__
((
visibility
(
"hidden"
)))
xyzzy
;
int
xyzzy
=
5
;