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 "methodEv" } } */
7 class __attribute__ ((visibility ("default"))) Foo
12 void Foo::method() { }