tests/basic/divide-by-zero.sp
author David Anderson <dvander@alliedmods.net>
Tue Jan 01 15:34:07 2013 -0800 (2013-01-01)
changeset 251 ca99a81745fe
parent 229 ce072f38628c
child 263 ba85a47ee414
permissions -rw-r--r--
Refactor compilation process around the new concept of packages.
     1 native PrintToNum(num);
     2 
     3 f(a, b) {
     4     return a /b ;
     5 }
     6 
     7 public main()
     8 {
     9     for (new i = 0; i < 100; i++) {
    10         f(i + 5, i - 8);
    11     }
    12     return 10;
    13 }
    14