* Merge from mainline (tree-profiling-merge-20050603)
[official-gcc.git] / gcc / testsuite / g++.dg / abi / empty9.C
blob06e616adb30d48ebe588aa184759e905075dd039
1 // { dg-do run { target i?86-*-* x86_64-*-* } }
2 // { dg-require-effective-target ilp32 }
3 // { dg-options "-w -fabi-version=0" }
5 struct E1 {};
6 struct E2 : public E1 {
7   virtual void f ();
8 };
9 struct E3 : virtual public E1 {
11 struct S : public E2, virtual public E3 {
14 int main () {
15   if (sizeof (S) != 12)
16     return 1;