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] - Blame information for rev 154

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// PR c++/31027
2
 
3
struct A {};
4
 
5
template
6
struct C: virtual A {
7
  C() {}
8
  template C(const C&) {}
9
  C func(const class C&) const;
10
  operator bool() const;
11
};
12
 
13
template
14
struct D: C {
15
  void func2() {
16
    Ca;
17
    a.func(a);
18
  }
19
};
20
 
21
void func3() {
22
  Ca;
23
  a.func(a);
24
}

powered by: WebSVN 2.1.0

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