[Nice-commit] Nice/testsuite/compiler/statements/loops newforloop.testsuite,1.2,1.3
Brought to you by:
bonniot
From: <ar...@us...> - 2003-08-28 17:46:19
|
Update of /cvsroot/nice/Nice/testsuite/compiler/statements/loops In directory sc8-pr-cvs1:/tmp/cvs-serv14527/F:/nice/testsuite/compiler/statements/loops Modified Files: newforloop.testsuite Log Message: Added a simple range class. Index: newforloop.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/statements/loops/newforloop.testsuite,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** newforloop.testsuite 9 Aug 2003 10:51:47 -0000 1.2 --- newforloop.testsuite 28 Aug 2003 17:46:15 -0000 1.3 *************** *** 42,43 **** --- 42,49 ---- for(i : array3) j+=i; assert(j==10); + + /// PASS + int sum = 0; + for(x : 1..10) + sum += x; + assert(sum==55); |