1 // { dg-do assemble  }
2 // { dg-options "-w" }
3 // GROUPS passed vtable
4 // vtable file
5 // From: mrs@cygnus.com (Mike Stump)
6 // Date:     Wed, 20 Apr 1994 17:46:11 -0700
7 // Subject:  vtable name generation is wrong
8 // Message-ID: <199404210046.RAA25652@rtl.cygnus.com>
9 
10 // prepare_fresh_vtable doesn't build the names of
11 // vtables very well.
12 
13 struct B {
vfB14   virtual void vf() { }
15 };
16 
17 struct Main {
vfMain18   virtual void vf() { }
19 };
20 
21 struct Other : public Main, public B {
vfOther22   virtual void vf() { }
23 };
24 
25 struct D : public Main, public B, public Other {
vfD26   virtual void vf() { }
27 } a;
28