tests/basic/return-analyze-if-1.sp
author David Anderson <dvander@alliedmods.net>
Wed Dec 26 17:19:49 2012 -0800 (2012-12-26)
changeset 243 3d94c73a824c
parent 232 2b8512340180
child 263 ba85a47ee414
permissions -rw-r--r--
Fix build bustage.
     1 native PrintNum(num);
     2 
     3 f(x)
     4 {
     5     if (x)
     6         return 5;
     7     return 2;
     8 }
     9 
    10 public main()
    11 {
    12     PrintNum(f(0));
    13     PrintNum(f(1));
    14 }
    15 
    16