* gcc.dg/stack-check-5.c: Skip with -fstack-protector.
[official-gcc.git] / gcc / testsuite / gcc.dg / visibility-9.c
blob9d575168491ba4ad61cbbf42ce6a72076036f5ab
1 /* Test that -fvisibility works. */
2 /* { dg-do compile } */
3 /* { dg-require-visibility "" } */
4 /* { dg-options "-fvisibility=hidden" } */
5 /* { dg-final { scan-hidden "foo" } } */
7 void foo();
9 void foo() { }