Mercurial > projects > ldc
view test/condexp.d @ 306:0baca2feb554 trunk
[svn r327] Fixed some more MinGW32 issues. It's now very close to working.
Fixed problems with inline asm like: mov EAX, FS:4 , which incidentally is used in the runtime to get the stack bottom, on Windows.
author | lindquist |
---|---|
date | Fri, 27 Jun 2008 23:58:22 +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);*/ }