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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [vbase4.C] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 305 jeremybenn
// { dg-do assemble  }
2
 
3
// Copyright (C) 2000 Free Software Foundation, Inc.
4
// Contributed by Nathan Sidwell 10 Jan 2001 
5
// Origin snyder@fnal.gov
6
 
7
// Bug 933. Secondary vtables weren't correctly located for non-primary
8
// virtual bases. Causing us to ICE.
9
 
10
class d0_Object
11
{
12
public:
13
virtual ~d0_Object ();
14
};
15
 
16
 
17
class M10 : virtual public d0_Object {};
18
class M4 : virtual public M10 {};
19
 
20
class M9
21
: public M4, virtual public M10
22
{
23
public:
24
M9 ();
25
};
26
 
27
M9::M9 () {}

powered by: WebSVN 2.1.0

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