view test/cond1.d @ 52:0c77619e803b trunk

[svn r56] Initial support for TypeInfo. Enums not work. Several other bugfixes.
author lindquist
date Tue, 23 Oct 2007 05:55:12 +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;
}