Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
gcc.dg
/
visibility-a.c
blob: 23a51d7e5a4ebea0e1c08111f6ad6b0a765eb2f4 [
file
] [
log
] [
blame
]
/* Test that #pragma GCC visibility works. */
/* { dg-do compile } */
/* { dg-require-visibility "" } */
/* { dg-final { scan-hidden "foo" } } */
#pragma
GCC visibility push
(
hidden
)
void
foo
();
#pragma
GCC visibility pop
void
foo
()
{
}