repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
ext
/
visibility
/
visibility-5.C
blob
592529e665d6f65d323ed12060566e340639c255
1
/* Test visibility attribute on definition of a function that has
2
already had a forward declaration. */
3
/* { dg-require-visibility "" }
4
/* { dg-final { scan-hidden "_Z3foov" } } */
5
6
void foo();
7
8
void
9
__attribute__((visibility ("hidden")))
10
foo()
11
{ }