Mercurial > projects > ldc
view tests/mini/boolexp.d @ 767:eb1ce70ee01c
D2: forgot to revert some changes made for testing last fix...
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Wed, 12 Nov 2008 05:43:12 +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); }