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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.abi/] [vbase5.C] - Blame information for rev 699

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do assemble  }
2
//
3
// Copyright (C) 2001 Free Software Foundation, Inc.
4
// Contributed by Nathan Sidwell 12 Jun 2001 
5
 
6
// 3130. A virtual base can have canonical and non-canonical instances
7
// of its primary. The canonical one should be first in dfs order.
8
 
9
struct A
10
{
11
  virtual ~A ();
12
};
13
 
14
struct B
15
{
16
  virtual ~B ();
17
};
18
 
19
 
20
struct C : virtual public A, virtual public B {};
21
class D : public virtual C {};
22
class E : public virtual C, public virtual D {};

powered by: WebSVN 2.1.0

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