Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.dg / ext / visibility / visibility-2.C
blob26272abb1f9026fff55841ce5f3d8bdacb8d10d8
1 /* Test that visibility attribute on declaration extends to definition. */
2 /* { dg-require-visibility "" }
3 /* { dg-final { scan-hidden "_Z3foov" } } */
5 void __attribute__((visibility ("hidden"))) foo();
7 void foo() { }