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()
{ }