view tests/mini/complex3.d @ 959:7e669954db7d

Implement implicit return after inline asm on x86_64
author Frits van Bommel <fvbommel wxs.nl>
date Sun, 15 Feb 2009 18:04:22 +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);
}