projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
dwarf2.h (dwarf_calling_convention): Add enum for renesas sh abi.
[gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
visibility-a.c
1
/* Test that #pragma GCC visibility works. */
2
/* { dg-do compile } */
3
/* { dg-require-visibility "" } */
4
/* { dg-final { scan-assembler "\\.hidden.*foo" } } */
5
6
#pragma GCC visibility push(hidden)
7
void
foo
();
8
#pragma GCC visibility pop
9
10
void
foo
() { }