1 /* Test that -fvisibility works. */
2 /* { dg-do compile } */
3 /* { dg-require-visibility "" } */
4 /* { dg-options "-fvisibility=hidden" } */
5 /* { dg-final { scan-hidden "foo" } } */
6 
7 void foo();
8 
foo()9 void foo() { }
10