annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
908
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
1 // $HeadURL$
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
2 // $Date$
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
3 // $Author$
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
4
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
5 // @author@ <regan@netwin.co.nz>
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
6 // @date@ 2006-03-12
1319
81222734adf3 sed'ed replacement of new:...http.d.puremagic.co... with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents: 908
diff changeset
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=44
908
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
8
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
9 module dstress.run.u.union_16_E;
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
10
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
11 struct A {
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
12 int a;
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
13 B b;
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
14 }
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
15
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
16 struct B {
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
17 int b1;
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
18 int b2;
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
19 }
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
20
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
21
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
22 int main(){
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
23 if(A.sizeof != int.sizeof * 3){
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
24 assert(0);
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
25 }
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
26
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
27 A a;
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
28
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
29 if(a.sizeof != int.sizeof * 3){
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
30 assert(0);
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
31 }
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
32
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
33
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
34 return 0;
9755f3e63e3d <regan@netwin.co.nz>
thomask
parents:
diff changeset
35 }