diff options
author | dgp <dgp@noemail.net> | 2007-08-08 20:25:02 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2007-08-08 20:25:02 (GMT) |
commit | cb3097800aecbb7902545f53924e331e71279846 (patch) | |
tree | ea5416fbb503bc129113c2ce7e60f3087ecbd114 /tests/expr.test | |
parent | b57d83b67e5e6d632af36cfed00bac15ebf18e75 (diff) | |
download | tcl-cb3097800aecbb7902545f53924e331e71279846.zip tcl-cb3097800aecbb7902545f53924e331e71279846.tar.gz tcl-cb3097800aecbb7902545f53924e331e71279846.tar.bz2 |
* generic/tclExecute.c: Corrected improper use of bignum arguments
* tests/expr.test: to *SHIFT operations. [Bug 1770224].
FossilOrigin-Name: a7035d0542a40e258472c6f3a9fb2d659374a9b3
Diffstat (limited to 'tests/expr.test')
-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 daab2f4..f73c613 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.67 2006/12/06 16:37:00 kennykb Exp $ +# RCS: @(#) $Id: expr.test,v 1.68 2007/08/08 20:25:05 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2.1 @@ -6658,6 +6658,10 @@ test expr-47.12 {isqrt of various sizes of integer} { set trouble } {} +test expr-48.1 {Bug 1770224} { + expr {-0x8000000000000001 >> 0x8000000000000000} +} -1 + # cleanup if {[info exists a]} { unset a |