Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
gcc.dg
/
visibility-9.c
blob: 9d575168491ba4ad61cbbf42ce6a72076036f5ab [
file
] [
log
] [
blame
]
/* Test that -fvisibility works. */
/* { dg-do compile } */
/* { dg-require-visibility "" } */
/* { dg-options "-fvisibility=hidden" } */
/* { dg-final { scan-hidden "foo" } } */
void
foo
();
void
foo
()
{
}