1 // { dg-do compile { target arm*-*-symbianelf* } }
2 // Class data should not be exported.
3 // { dg-final { scan-hidden "_ZTV2K3" } }
4 // But the constructor and destructor should be exported.
5 // { dg-final { scan-not-hidden "_ZN2K3C2Ev" } }
6 // { dg-final { scan-not-hidden "_ZN2K3D0Ev" } }
8 class __declspec(notshared) K3 {
10 __declspec(dllimport) K3();
11 __declspec(dllimport) virtual ~K3();
21 int K3::m1() { return 1; }