OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
rsha Jagasia <harsha.jagasia@amd.com>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
visibility-3.c
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;