Mercurial > projects > ldc
view test/terms.d @ 12:ee302fe07296 trunk
[svn r16] * Updated all tests to have a main
* Updated runalltests to both compile and run the tests
author | lindquist |
---|---|
date | Tue, 02 Oct 2007 05:27:44 +0200 |
parents | c53b6e3fe49a |
children |
line wrap: on
line source
module terms; void f() { int i = 42; if (i > 25) return; if (i < 25) { return; } if (i > 100) return; else return; if (i < 1000) { return; } else { return; } } void main() { int i = 42; if (i > 25) return; if (i < 25) { return; } if (i > 100) return; else return; if (i < 1000) { return; } else { return; } }