tests/prototype/set-constelem.jc
author Asher Baker <asherkin@gmail.com>
Mon Jun 10 15:52:44 2013 +0100 (2013-06-10)
changeset 265 3a903b89a514
parent 69 dfce0539a77d
permissions -rw-r--r--
Fixed type checking for multidimensional arrays.
     1 f(const a[])
     2 {
     3     a[2] = 5;
     4     return a[3];
     5 }
     6 
     7 public main()
     8 {
     9     new b[5];
    10     b[2] = 3;
    11     return f(b);
    12 }
    13