/trunk/Examples/test-suite/d/sizet_runme.1.d
# · D · 15 lines · 12 code · 3 blank · 0 comment · 2 complexity · 1d78380c1c83740729ca30fe13a43aa8 MD5 · raw file
- module sizet_runme;
- import sizet.sizet;
- void main() {
- size_t s = 2000;
- s = test1(s+1);
- s = test2(s+1);
- s = test3(s+1);
- s = test4(s+1);
- if (s != 2004) {
- throw new Exception("failed");
- }
- }