view test/cond1.d @ 135:176bd52b3cf5 trunk

[svn r139] Fixed bug #33, thanks for the report :)
author lindquist
date Mon, 14 Jan 2008 23:09:55 +0100
parents 8b0e809563df
children
line wrap: on
line source

module cond1;

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