tests/prototype/divide-by-zero.jc
author David Anderson <danderson@mozilla.com>
Wed Jul 25 00:48:08 2012 -0700 (2012-07-25)
changeset 91 5f4402180204
parent 69 dfce0539a77d
permissions -rw-r--r--
Added clang support. A lot of the motion here is introducing a new offsetof because clang's seems broken?
     1 native PrintToServer(const String:str[], ...);
     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