Mercurial > projects > ldc
view tests/mini/complex3.d @ 1397:fdfc4060bcec
fix missing 'test' mnemonic and add several variations
author | Kelly Wilson <wilsonk cpsc.ucalgary.ca> |
---|---|
date | Tue, 19 May 2009 11:58:54 -0600 |
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); }