[Nice-commit] Nice/testsuite/compiler/syntax expressions.testsuite,1.7,1.8
Brought to you by:
bonniot
From: Arjan B. <ar...@us...> - 2004-09-02 18:23:38
|
Update of /cvsroot/nice/Nice/testsuite/compiler/syntax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27251/F:/nice/testsuite/compiler/syntax Modified Files: expressions.testsuite Log Message: Allow underscores in literal numbers. Index: expressions.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/syntax/expressions.testsuite,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** expressions.testsuite 24 Jun 2004 14:02:42 -0000 1.7 --- expressions.testsuite 2 Sep 2004 18:23:27 -0000 1.8 *************** *** 21,22 **** --- 21,29 ---- /// TOPLEVEL String->String->void f4(String x) = String y => String z => {}; + + + /// PASS + assert 123456 == 123_456; + assert 0x1_2_3_4 == 0x1234; + assert 0.000_012 == 0.000012; + assert 1_000.000_1d == 1000.0001d; |