1.2.29. test/regress/rt-1.01.29

     1: #line 1124 "./lpsrc/flx_regress.pak"
     2: //Check arrays
     3: #line 1124 "./lpsrc/flx_regress.pak"
     4: //Check array iterators
Start felix section to test/regress/rt-1.01.29-0.flx[1 /1 ]
     5: #import <flx.flxh>
     6: 
     7: open List;
     8: 
     9: proc foo (x:int) {
    10:   print x;
    11:   endl;
    12: }
    13: 
    14: var x = [|1,2,3|];
    15: var y = list(x);
    16: var z = list(4,5,6);
    17: 
    18: Array::iter[int, 3] (the foo) x;
    19: iter (the foo) y;
    20: iter (the foo) z;
    21: 
End felix section to test/regress/rt-1.01.29-0.flx[1]
Start data section to test/regress/rt-1.01.29-0.expect[1 /1 ]
     1: 1
     2: 2
     3: 3
     4: 1
     5: 2
     6: 3
     7: 4
     8: 5
     9: 6
End data section to test/regress/rt-1.01.29-0.expect[1]