Mercurial > projects > ldc
view tests/mini/boolexp.d @ 1147:dbe4af57b240
Changed use of toObjFile to a new codegen method.
More versioning of DMD specific codegen code.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Fri, 27 Mar 2009 17:54:27 +0100 |
parents | 216b14b9a773 |
children |
line wrap: on
line source
bool got() { return true; } extern(C) int printf(char*, ...); void main() { bool b = true && got(); printf("%d\n", b ? 1 : 0); }