diff options
Diffstat (limited to 'tests/parseExpr.test')
-rw-r--r-- | tests/parseExpr.test | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/parseExpr.test b/tests/parseExpr.test index 4c99525..c802a9e 100644 --- a/tests/parseExpr.test +++ b/tests/parseExpr.test @@ -8,7 +8,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: parseExpr.test,v 1.19 2006/03/21 18:30:55 dgp Exp $ +# RCS: @(#) $Id: parseExpr.test,v 1.20 2006/03/21 18:39:11 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -756,6 +756,16 @@ test parseExpr-19.1 {TclParseInteger: [Bug 648441]} { list [catch {expr 0x} result] $result } [list 1 {syntax error in expression "0x": extra tokens at end of expression}] +test parseExpr-20.1 {Bug 1451233} { + expr 1000000000000000000042 +} 1000000000000000000042 +test parseExpr-20.2 {Bug 1451233} { + expr 10000000000000000000420000000042 +} 10000000000000000000420000000042 +test parseExpr-20.2 {Bug 1451233} { + expr 10000000000000000000020000000002 +} 10000000000000000000020000000002 + # cleanup ::tcltest::cleanupTests return |