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