Mercurial > projects > dstress
view run/u/union_16_E.d @ 1319:81222734adf3
sed'ed replacement of new:...http.d.puremagic.co... with http://d.puremagic.com/issues/show_bug.cgi?...
author | thomask |
---|---|
date | Sun, 31 Dec 2006 19:58:06 +0000 |
parents | 9755f3e63e3d |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ <regan@netwin.co.nz> // @date@ 2006-03-12 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=44 module dstress.run.u.union_16_E; struct A { int a; B b; } struct B { int b1; int b2; } int main(){ if(A.sizeof != int.sizeof * 3){ assert(0); } A a; if(a.sizeof != int.sizeof * 3){ assert(0); } return 0; }