blob: 4b4b54d5a10e61fe50ffd4c13631de0a6a9594f4 [file] [log] [blame]
/* Test that -fvisibility does not override class member specific settings. */
/* { dg-do compile } */
/* { dg-require-visibility "internal" } */
/* { dg-options "-fvisibility=hidden" } */
/* { dg-final { scan-not-hidden "Foo.methodEv" } } */
class Foo
{
__attribute__ ((visibility ("internal"))) void method();
};
void Foo::method() { }