comparison test/condexp.d @ 1:c53b6e3fe49a trunk

[svn r5] Initial commit. Most things are very rough.
author lindquist
date Sat, 01 Sep 2007 21:43:27 +0200
parents
children
comparison
equal deleted inserted replaced
0:a9e71648e74d 1:c53b6e3fe49a
1 module condexp;
2
3 int f()
4 {
5 return 42;
6 }
7
8 void main()
9 {
10 int i = f() < 25 ? -1 : 1;
11 /*int j = f() > 25 ? 1 : -1;
12 assert(i);
13 assert(!j);*/
14 }