Mercurial > projects > ldc
view test/condexp.d @ 112:368547b1cbe6 trunk
[svn r116] Implemented the ClassInfo.destructor field.
author | lindquist |
---|---|
date | Thu, 22 Nov 2007 22:30:10 +0100 |
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);*/ }