OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [ext/] [visibility/] [arm1.C] - Diff between revs 149 and 154

Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
// { dg-do compile { target arm*-*-eabi* arm*-*-symbianelf* } }
// { dg-do compile { target arm*-*-eabi* arm*-*-symbianelf* } }
// { dg-options "-fvisibility=hidden" }
// { dg-options "-fvisibility=hidden" }
// Most class data should be exported.
// Most class data should be exported.
// { dg-final { scan-not-hidden "_ZTV1S" } }
// { dg-final { scan-not-hidden "_ZTV1S" } }
// { dg-final { scan-not-hidden "_ZTI1S" } }
// { dg-final { scan-not-hidden "_ZTI1S" } }
// { dg-final { scan-not-hidden "_ZTS1S" } }
// { dg-final { scan-not-hidden "_ZTS1S" } }
// { dg-final { scan-not-hidden "_ZTV1U" } }
// { dg-final { scan-not-hidden "_ZTV1U" } }
// { dg-final { scan-not-hidden "_ZTT1U" } }
// { dg-final { scan-not-hidden "_ZTT1U" } }
// { dg-final { scan-not-hidden "_ZTI1U" } }
// { dg-final { scan-not-hidden "_ZTI1U" } }
// { dg-final { scan-not-hidden "_ZTS1U" } }
// { dg-final { scan-not-hidden "_ZTS1U" } }
// The construction vtable should be hidden.
// The construction vtable should be hidden.
// { dg-final { scan-hidden "_ZTC1U0_1T" } }
// { dg-final { scan-hidden "_ZTC1U0_1T" } }
struct S {
struct S {
  virtual void f();
  virtual void f();
};
};
void S::f() {
void S::f() {
}
}
struct T : public virtual S {
struct T : public virtual S {
  virtual void g();
  virtual void g();
};
};
struct U : public virtual T {
struct U : public virtual T {
  virtual void h();
  virtual void h();
};
};
void U::h() {}
void U::h() {}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.