comparison 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
comparison
equal deleted inserted replaced
667:9c48213cfd96 668:216b14b9a773
1 bool got() { return true; }
2 extern(C) int printf(char*, ...);
3 void main()
4 {
5 bool b = true && got();
6 printf("%d\n", b ? 1 : 0);
7 }