comparison tests/code/while_1.d @ 12:6282db07115f

Added some ekstra tests, and allowed bool as a type
author Anders Halager <halager@gmail.com>
date Fri, 18 Apr 2008 13:58:27 +0200
parents
children
comparison
equal deleted inserted replaced
11:642c6a998fd9 12:6282db07115f
1 int main()
2 {
3 int x = 10;
4 while (x > 0)
5 x = x - 1;
6 return x;
7 }
8