view tests/mini/complex3.d @ 890:5a03f3f74615

Apply afb's patch from #168 to use $CC instead of "gcc" for toobj and linker.
author Christian Kamm <kamm incasoftware de>
date Sat, 17 Jan 2009 17:52:09 +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);
}