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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [inherit/] [virtual4.C] - Diff between revs 154 and 816

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

Rev 154 Rev 816
// PR c++/31027
// PR c++/31027
struct A {};
struct A {};
template
template
struct C: virtual A {
struct C: virtual A {
  C() {}
  C() {}
  template C(const C&) {}
  template C(const C&) {}
  C func(const class C&) const;
  C func(const class C&) const;
  operator bool() const;
  operator bool() const;
};
};
template
template
struct D: C {
struct D: C {
  void func2() {
  void func2() {
    Ca;
    Ca;
    a.func(a);
    a.func(a);
  }
  }
};
};
void func3() {
void func3() {
  Ca;
  Ca;
  a.func(a);
  a.func(a);
}
}
 
 

powered by: WebSVN 2.1.0

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