view tests/mini/complex2.d @ 1630:44b145be2ef5

Merge dmd 1.056.
author Robert Clipsham <robert@octarineparrot.com>
date Sat, 06 Feb 2010 15:53:52 +0000
parents fbb1a366cfbc
children
line wrap: on
line source

module complex2;

void main()
{
    cdouble c = 3.0 + 0i;
    cdouble d = 2.0 + 0i;
    cdouble c1 = c + 3.0;
    cdouble c2 = c - 3.0i;
    cdouble c3 = c / 2.0;
}