repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR tree-optimization/67955
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
vbase1.C
blob
39d8b81026b350f26f8a1344f2fabca4cd3008e1
1
// { dg-do compile }
2
3
// Copyright (C) 2001 Free Software Foundation, Inc.
4
// Contributed by Nathan Sidwell 5 Sept 2001 <nathan@codesourcery.com>
5
6
// Bug 3986. Another indirect primary base problem.
7
8
struct Consts
9
{
10
};
11
12
struct MathLib :
13
virtual Consts
14
{
15
};
16
17
struct Parallel :
18
virtual Consts
19
{
20
};
21
22
struct Particles :
23
virtual MathLib,
24
virtual Parallel
25
{
26
};
27
28
struct Ring :
29
virtual Particles
30
{
31
};
32
33
struct Injection :
34
virtual Particles,
35
virtual Ring
36
{
37
};
38
39
struct LSpaceCharge :
40
virtual Ring,
41
virtual Injection
42
{
43
};
44
45
struct Bump :
46
virtual Consts
47
{
48
};
49
50
struct Output :
51
virtual Injection,
52
virtual Bump
53
{
54
};
55
56
struct Plots :
57
virtual LSpaceCharge,
58
virtual Output
59
{
60
};