diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/expr.test | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/expr.test b/tests/expr.test index 1aad141..89ac635 100644 --- a/tests/expr.test +++ b/tests/expr.test @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: expr.test,v 1.37 2005/07/28 18:42:28 dgp Exp $ +# RCS: @(#) $Id: expr.test,v 1.38 2005/08/05 18:50:30 kennykb Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2.1 @@ -6453,6 +6453,10 @@ test expr-37.14 {expr edge cases} {wideIs64bit} { } {1 * -9223372036854775806 + -2 = -9223372036854775808} +test expr-38.1 {abs of smallest 32-bit integer [Bug 1241572]} {wideIs64bit} { + expr {abs(-2147483648)} +} 2147483648 + # cleanup if {[info exists a]} { unset a |