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
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
visibility-a.c
blob
23a51d7e5a4ebea0e1c08111f6ad6b0a765eb2f4
1
/* Test that #pragma GCC visibility works. */
2
/* { dg-do compile } */
3
/* { dg-require-visibility "" } */
4
/* { dg-final { scan-hidden "foo" } } */
5
6
#pragma GCC visibility push(hidden)
7
void
foo
();
8
#pragma GCC visibility pop
9
10
void
foo
() { }