Mercurial > projects > ldc
view tests/mini/complex3.d @ 1498:899a928ac905
Set the default RUNTIME_DIR to be side-by-side of the ldc source dir.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 14 Jun 2009 14:28:11 +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); }