view tests/mini/complex3.d @ 1182:5e8f7ad442ba

Fix one more naked asm output problem for mingw32 and remove some duplicate code
author Kelly Wilson <wilsonk cpsc.ucalgary.ca>
date Mon, 30 Mar 2009 18:22:30 -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);
}