1 /* Test that setting visibility for class member functions works. */
2 /* { dg-do compile } */
3 /* { dg-require-visibility "" } */
4 /* { dg-final { scan-hidden "_ZN3Foo6methodEv" } } */
6 class __attribute__ ((visibility ("hidden"))) Foo
11 void Foo::method() { }