1 /* Test that -fvisibility does not override class member specific settings. */
2 /* { dg-do compile } */
3 /* { dg-require-visibility "" } */
4 /* { dg-options "-fvisibility=hidden" } */
5 /* { dg-final { scan-not-hidden "Foo.methodEv" } } */
9 __attribute__ ((visibility ("default"))) void method();
12 void Foo::method() { }