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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [inherit/] [virtual7.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// Origin: PR c++/47666
2
// { dg-do compile }
3
 
4
template 
5
struct A
6
{
7
  int a;
8
};
9
 
10
template 
11
struct B : public A 
12
{
13
};
14
 
15
class D : public B 
16
{
17
  virtual D & operator= (const D &);
18
};
19
 
20
class E : virtual public D
21
{
22
};
23
 
24
class F : public E
25
{
26
  virtual void foo ();
27
};

powered by: WebSVN 2.1.0

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