annotate tests/mini/boolexp.d @ 828:03b0c817a1a3

added install target and possibility to pre- and suffix ldc's executable name to cmake scripts
author elrood
date Thu, 04 Dec 2008 22:09:24 +0100
parents 216b14b9a773
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
668
216b14b9a773 Add tests.
Christian Kamm <kamm incasoftware de>
parents:
diff changeset
1 bool got() { return true; }
216b14b9a773 Add tests.
Christian Kamm <kamm incasoftware de>
parents:
diff changeset
2 extern(C) int printf(char*, ...);
216b14b9a773 Add tests.
Christian Kamm <kamm incasoftware de>
parents:
diff changeset
3 void main()
216b14b9a773 Add tests.
Christian Kamm <kamm incasoftware de>
parents:
diff changeset
4 {
216b14b9a773 Add tests.
Christian Kamm <kamm incasoftware de>
parents:
diff changeset
5 bool b = true && got();
216b14b9a773 Add tests.
Christian Kamm <kamm incasoftware de>
parents:
diff changeset
6 printf("%d\n", b ? 1 : 0);
216b14b9a773 Add tests.
Christian Kamm <kamm incasoftware de>
parents:
diff changeset
7 }