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
* gcc.dg/stack-check-5.c: Skip with -fstack-protector.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
visibility-9.c
blob
9d575168491ba4ad61cbbf42ce6a72076036f5ab
1
/* Test that -fvisibility works. */
2
/* { dg-do compile } */
3
/* { dg-require-visibility "" } */
4
/* { dg-options "-fvisibility=hidden" } */
5
/* { dg-final { scan-hidden "foo" } } */
6
7
void
foo
();
8
9
void
foo
() { }