[aarch64] Document rewriting of -march=native to -mcpu=native
[official-gcc.git] / gcc / testsuite / g++.dg / ext / visibility / fvisibility-override1.C
blob685cd13091f5c52e85b0679f328a091228a10e67
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
9   void method();
12 void Foo::method() { }