summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/visibility/arm2.C
blob: 7eed18d7f85b5aadbea084039a3c1c56041f3e79 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do compile { target arm*-*-*eabi* arm*-*-symbianelf* } }
// Class data should be exported.
// { dg-final { scan-not-hidden "_ZTV1S" } }
// { dg-final { scan-not-hidden "_ZTI1S" } }
// { dg-final { scan-not-hidden "_ZTS1S" } }

struct S {
  virtual void f();
};

void S::f() {}