1 // GROUPS passed code-generation
3 // From: Gunther Seitz <Gunther.Seitz@regent.e-technik.tu-muenchen.dbp.de>
4 // Date: Thu, 18 Mar 1993 10:45:29 +0100
5 // Message-ID: <93Mar18.104538met.1094@regatta.regent.e-technik.tu-muenchen.de>
14 X () { x=3.5; } // Here we go. This assignment fails because
15 // of X::x being aligned on a doubleword
16 // boundary, not a quadword one.
20 class A : public virtual X {}; // Only way to produce the
21 class B : public virtual X {}; // error is to use this
22 class C : public virtual X {}; // construct of virtual
25 class Y : public A, public B, public C {};
30 Y y; // To call the constructor