view test/cond1.d @ 69:2b5a2eaa88be trunk

[svn r73] Identity expression for dynamic array and null was broken.
author lindquist
date Sun, 28 Oct 2007 04:23:38 +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;
}