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