view tests/mini/complex3.d @ 776:6aa2b350c8cc

tango patch fix
author tomas@myhost
date Thu, 20 Nov 2008 17:20:00 +0100
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);
}