tests/basic/return-analyze-for-5.sp
author Asher Baker <asherkin@gmail.com>
Mon Jun 10 01:04:43 2013 +0100 (2013-06-10)
changeset 263 ba85a47ee414
parent 232 2b8512340180
permissions -rw-r--r--
Normalise line endings.
     1 native PrintNum(num);
     2 
     3 f(x)
     4 {
     5     for (; x;) {
     6         return 5;
     7     }
     8     return 4;
     9 }
    10 
    11 public main()
    12 {
    13     PrintNum(f(5));
    14     PrintNum(f(0));
    15 }
    16 
    17