OSDN Git Service

2007-03-22 Dirk Mueller <dmueller@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / abi / vthunk2.C
1 // { dg-do compile { target i?86-*-* x86_64-*-*} }
2 // { dg-require-effective-target ilp32 }
3
4 struct c0 {
5   virtual void f ();
6 };
7
8 struct c1 : virtual public c0 {
9 };
10
11 struct c2 : virtual public c0, public c1 {
12   virtual void f ();
13 };
14
15 void c2::f () {}
16
17 // { dg-final { scan-assembler _ZTv0_n12_N2c21fEv } }