tests/prototype/passarray.jc
changeset 66 cbba1997dc71
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tests/prototype/passarray.jc	Mon Jul 09 21:40:20 2012 -0700
     1.3 @@ -0,0 +1,12 @@
     1.4 +f(a[])
     1.5 +{
     1.6 +    return a[3];
     1.7 +}
     1.8 +
     1.9 +public main()
    1.10 +{
    1.11 +    new b[5];
    1.12 +    b[2] = 3;
    1.13 +    return f(b);
    1.14 +}
    1.15 +