Mercurial > projects > ldc
view tests/mini/complex3.d @ 1179:71479f6e2a01
Give function & delegate literals, foreach bodies and lazy parameters internal
linkage.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Mon, 30 Mar 2009 16:34:36 +0200 |
parents | fbb1a366cfbc |
children |
line wrap: on
line source
module complex3; void main() { cfloat c1 = 1f + 0i; cfloat c2 = 0f + 0i; c2 += 1f + 0i; assert(c1 == c2); }