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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [abi/] [vbase9.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do compile }
2
 
3
// Copyright (C) 2002 Free Software Foundation, Inc.
4
// Contributed by Nathan Sidwell 17 Mar 2002 
5
// Origin: Jakub Jelinek 
6
 
7
// PR 5681. ICE in build_secondary_vtable
8
 
9
struct A {
10
  virtual int f1 ();
11
};
12
 
13
struct B : virtual A {};
14
 
15
struct C {
16
  virtual int f2 ();
17
};
18
 
19
struct E : A {};
20
 
21
struct D : E,  B {};
22
 
23
struct F : virtual D {};
24
 
25
struct G : virtual F,  C {};
26
 
27
struct H : virtual F {};
28
 
29
struct I : G,  H {};

powered by: WebSVN 2.1.0

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