Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / ext / visibility / staticmemfuncts.C
blobe745caa5a74545794fae040be5cfa8b2f97ac1e8
1 /* Test that setting visibility for static class member functions works. */
2 /* { dg-do compile } */
3 /* { dg-require-visibility "" } */
4 /* { dg-final { scan-hidden "_ZN3Foo6methodEv" } } */
6 class __attribute__ ((visibility ("hidden"))) Foo
8   static void method();
9 };
11 void Foo::method() { }