Mercurial > projects > ldc
view tests/mini/complex4.d @ 1003:de97188378bc
Fix struct field alignment on x86-64 (for align > 8, like real.alignof)
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Fri, 27 Feb 2009 12:35:31 +0100 |
parents | fbb1a366cfbc |
children |
line wrap: on
line source
module complex4; void main() { cfloat c = 2f + 3fi; float r = cast(float)c; ifloat i = cast(ifloat)c; }