[Nice-commit] Nice/testsuite/compiler/methods integer.testsuite,1.9,1.10
Brought to you by:
bonniot
From: <ar...@us...> - 2003-07-12 23:13:18
|
Update of /cvsroot/nice/Nice/testsuite/compiler/methods In directory sc8-pr-cvs1:/tmp/cvs-serv29615/F:/nice/testsuite/compiler/methods Modified Files: integer.testsuite Log Message: Update of changelog and an additional testcase. Index: integer.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/integer.testsuite,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** integer.testsuite 6 Jul 2003 18:12:17 -0000 1.9 --- integer.testsuite 12 Jul 2003 23:13:12 -0000 1.10 *************** *** 180,182 **** foo(n) {} foo(n>5) {} ! foo(n>5) {} \ No newline at end of file --- 180,192 ---- foo(n) {} foo(n>5) {} ! foo(n>5) {} ! ! /// PASS ! assert foo(6) == 6; ! assert foo(5) == 1; ! /// Toplevel ! int foo(int n); ! foo(n<=3) = 0; ! foo(n>3) = n; ! foo(4) = 0; ! foo(5) = 1; |