Sign in
gnu
/
gcc
/
57ea00136418991e847e46a6946a81a1df70c9a4
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
visibility-1.C
blob: d579eb27206df83f2c987c1e69aef8bcafef9f1d [
file
] [
log
] [
blame
]
/* Test visibility attribute on function definition. */
/* { dg-do compile { target *86-*-linux* } } */
/* { dg-final { scan-assembler "\\.hidden.*_Z3foov" } } */
void
__attribute__
((
visibility
(
"hidden"
)))
foo
()
{
}