[Nice-commit] Nice/testsuite/compiler/statements/variables var.testsuite,1.2,1.3
Brought to you by:
bonniot
From: <ar...@us...> - 2003-08-30 15:53:37
|
Update of /cvsroot/nice/Nice/testsuite/compiler/statements/variables In directory sc8-pr-cvs1:/tmp/cvs-serv398/F:/nice/testsuite/compiler/statements/variables Modified Files: var.testsuite Log Message: infer x to type int when exp is of type short in "var x = exp". Index: var.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/statements/variables/var.testsuite,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** var.testsuite 30 Aug 2003 10:31:36 -0000 1.2 --- var.testsuite 30 Aug 2003 15:53:33 -0000 1.3 *************** *** 39,40 **** --- 39,44 ---- // i must have type int, not byte. i = i + 1; + + /// PASS + var i = 200; + i = i + 1; |