PageRenderTime 16ms CodeModel.GetById 7ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/d/sizet_runme.1.d

#
D | 15 lines | 12 code | 3 blank | 0 comment | 2 complexity | 1d78380c1c83740729ca30fe13a43aa8 MD5 | raw file
 1module sizet_runme;
 2
 3import sizet.sizet;
 4
 5void main() {
 6  size_t s = 2000;
 7  s = test1(s+1);
 8  s = test2(s+1);
 9  s = test3(s+1);
10  s = test4(s+1);
11
12  if (s != 2004) {
13    throw new Exception("failed");
14  }
15}