summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.abi/vbase6.C
blob: 69764936d175ab6419b9d8a1e439066e0be31231 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// { dg-do assemble  }
// 
// Copyright (C) 2001 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 12 Jun 2001 <nathan@codesourcery.com>

// 3131. 

struct A
{
  virtual ~A ();
};

struct B
{
  virtual ~B ();
};


struct C : virtual public B {};
struct D : virtual public A, virtual public C {};
struct E : public virtual C {};
struct F : public virtual D, public virtual E {};