1 // { dg-do run { target i?86-*-* x86_64-*-* } }
2 // { dg-require-effective-target ilp32 }
3 // { dg-options "-w -fabi-version=0" }
4 
5 struct E1 {};
6 struct E2 : public E1 {
7   virtual void f ();
8 };
9 struct E3 : virtual public E1 {
10 };
11 struct S : public E2, virtual public E3 {
12 };
13 
main()14 int main () {
15   if (sizeof (S) != 12)
16     return 1;
17 }
18