Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
gcc.dg
/
visibility-1.c
blob: 864b971dd64c3ca9da11dcca317dc8891b1a77f6 [
file
] [
log
] [
blame
]
/* Test visibility attribute on function definition. */
/* { dg-do compile } */
/* { dg-require-visibility "" } */
/* { dg-final { scan-hidden "foo" } } */
void
__attribute__
((
visibility
(
"hidden"
)))
foo
()
{
}