view test/cond1.d @ 62:b86e00b938a5 trunk

[svn r66] Added support for imaginary floating point types
author lindquist
date Thu, 25 Oct 2007 09:48:36 +0200
parents 8b0e809563df
children
line wrap: on
line source

module cond1;

void main()
{
    double a = 2;
    double b = 4;
    double c = (a > 0) ? a : b;
}