view tests/mini/complex4.d @ 631:9fcb5f1a4c54

Automated merge with http://hg.dsource.org/projects/llvmdc
author Christian Kamm <kamm incasoftware de>
date Wed, 01 Oct 2008 21:14:20 +0200
parents fbb1a366cfbc
children
line wrap: on
line source

module complex4;

void main()
{
    cfloat c = 2f + 3fi;
    float r = cast(float)c;
    ifloat i = cast(ifloat)c;
}