Mercurial > projects > ldc
view tests/mini/boolexp.d @ 668:216b14b9a773
Add tests.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 07 Oct 2008 20:22:04 +0200 |
parents | |
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); }