1 // { dg-do compile { target arm*-*-eabi* arm*-*-symbianelf* } }
2 // { dg-options "-fvisibility=hidden" }
3 // Most class data should be exported.
4 // { dg-final { scan-not-hidden "_ZTV1S" } }
5 // { dg-final { scan-not-hidden "_ZTI1S" } }
6 // { dg-final { scan-not-hidden "_ZTS1S" } }
7 // { dg-final { scan-not-hidden "_ZTV1U" } }
8 // { dg-final { scan-not-hidden "_ZTT1U" } }
9 // { dg-final { scan-not-hidden "_ZTI1U" } }
10 // { dg-final { scan-not-hidden "_ZTS1U" } }
11 // The construction vtable should be hidden.
12 // { dg-final { scan-hidden "_ZTC1U0_1T" } }
21 struct T : public virtual S {
25 struct U : public virtual T {