Code



Application output:

**** compiler Digital Mars D 2060

S1.c.offsetof (should be 0) = 0
S1.u.offsetof (should be 2) = 4
S1.sizeof (should be 6) = 8

S2.c.offsetof (should be 0) = 0
S2.u.offsetof (should be 2) = 2
S2.sizeof (should be 6) = 8

S3.c.offsetof (should be 0) = 0
S3.u.offsetof (should be 2) = 2
S3.sizeof (should be 6) = 8


Paste info


Author: Guest
Views: 108
Private: no
Expires: Never
Uploaded: 07.10.12 5:24
Votes: 0

Compilation


Compiler: DMD 2.060
Pointer size: m64