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
* tree.c (handle_dll_attribute): Move here from i383/winnt.c.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
visibility
/
visibility-4.C
blob
f6765958709412a07c01a87f9511e1483e533423
1
/* Test visibility attribute on forward declaration of global variable */
2
/* { dg-require-visibility "" }
3
/* { dg-final { scan-hidden "xyzzy" } } */
4
5
extern int __attribute__ ((visibility ("hidden")))
6
xyzzy;
7
8
int xyzzy = 5;