repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
slsr: Use simple_dce_from_worklist in SLSR [PR116554]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
visibility-3.c
blob
cb5a71524f6b5d88ca13dfc9fd7d9358246dbced
1
/* Test visibility attribute on forward declaration of global variable */
2
/* { dg-do compile } */
3
/* { dg-require-visibility "" } */
4
/* { dg-final { scan-hidden "xyzzy" } } */
5
6
int
7
__attribute__
((
visibility
(
"hidden"
)))
8
xyzzy
=
5
;