2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.dg / abi / vbase1.C
blob39d8b81026b350f26f8a1344f2fabca4cd3008e1
1 // { dg-do compile }
3 // Copyright (C) 2001 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 5 Sept 2001 <nathan@codesourcery.com>
6 // Bug 3986. Another indirect primary base problem.
8 struct Consts
12 struct MathLib :
13   virtual Consts
17 struct Parallel :
18   virtual Consts
22 struct Particles :
23   virtual MathLib,
24   virtual Parallel
28 struct Ring :
29   virtual Particles
33 struct Injection :
34   virtual Particles,
35   virtual Ring
39 struct LSpaceCharge :
40   virtual Ring,
41   virtual Injection
45 struct Bump :
46   virtual Consts
50 struct Output :
51   virtual Injection,
52   virtual Bump
56 struct Plots :
57   virtual LSpaceCharge,
58   virtual Output