summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/visibility/symbian2.C
blob: 767f0b54e1544020c13f2fbcb6385beebe998bb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do compile { target arm*-*-symbianelf* } }
// Class data should not be exported.
// { dg-final { scan-hidden "_ZTI1A" } }
// { dg-final { scan-hidden "_ZTS1A" } }
// { dg-final { scan-hidden "_ZTV1B" } }
// { dg-final { scan-hidden "_ZTI1B" } }
// { dg-final { scan-hidden "_ZTS1B" } }

struct A {};
struct B : virtual public A {};
B b;