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/] [thunk2.C] - Blame information for rev 825

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

Line No. Rev Author Line
1 149 jeremybenn
// PR c++/14108
2
 
3
class ClassC {
4
public:
5
  ~ClassC();
6
};
7
 
8
class ClassA {
9
  virtual ClassC f();
10
};
11
 
12
class ClassB : public virtual ClassA {
13
  virtual ClassC f();
14
};
15
 
16
ClassC ClassB::f() {
17
  return ClassC();
18
}
19
 

powered by: WebSVN 2.1.0

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