tests/basic/postinc-ref.sp
author David Anderson <dvander@alliedmods.net>
Sat Dec 22 16:24:04 2012 -0800 (2012-12-22)
changeset 227 2443792ea5a3
parent 24 tests/prototype/postinc-ref.sp@03c6a312213b
child 263 ba85a47ee414
permissions -rw-r--r--
Add postinc-ref test.
     1 native PrintNum(num);
     2 
     3 f(&a)
     4 {
     5     return a++;
     6 }
     7 
     8 public main()
     9 {
    10     new i = 0;
    11     PrintNum(f(i));
    12     PrintNum(i);
    13 }