summaryrefslogtreecommitdiff
path: root/Examples/test-suite/d/sizet_runme.1.d
blob: ae42e20e5fcae621a2daaa22a50c78fbaccb0b2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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");
  }
}