view test/cond1.d @ 287:00eb2c967c3a trunk

[svn r308] Really fixed multidimensional new expressions. the first length was bad in the resulting slice.
author lindquist
date Sat, 21 Jun 2008 05:03:42 +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;
}