Mercurial > projects > ldc
view test/condexp.d @ 202:56e0c5b1d428 trunk
[svn r218] Added test results for [217]
author | lindquist |
---|---|
date | Mon, 12 May 2008 23:49:07 +0200 |
parents | c53b6e3fe49a |
children |
line wrap: on
line source
module condexp; int f() { return 42; } void main() { int i = f() < 25 ? -1 : 1; /*int j = f() > 25 ? 1 : -1; assert(i); assert(!j);*/ }