tests/prototype/ref-expr.sp
changeset 16 23627f8bc421
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tests/prototype/ref-expr.sp	Sat Jun 30 22:45:25 2012 -0700
     1.3 @@ -0,0 +1,11 @@
     1.4 +f(&a)
     1.5 +{
     1.6 +    for (new i = 0; i < 10; i = i + 1)
     1.7 +        a = a + i;
     1.8 +    return a;
     1.9 +}
    1.10 +
    1.11 +main()
    1.12 +{
    1.13 +    return f(77);
    1.14 +}