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