diff options
author | dgp <dgp@users.sourceforge.net> | 2018-02-14 12:52:06 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2018-02-14 12:52:06 (GMT) |
commit | 40e9ab2e654ef81e10d38260c765346aca33077e (patch) | |
tree | e4c94bebb0d029f51cc230483072668272744e50 | |
parent | a7c17bc224dea481e831d6da7f924d8e064a5506 (diff) | |
download | tcl-40e9ab2e654ef81e10d38260c765346aca33077e.zip tcl-40e9ab2e654ef81e10d38260c765346aca33077e.tar.gz tcl-40e9ab2e654ef81e10d38260c765346aca33077e.tar.bz2 |
More tests for bignum modules regressions.
-rw-r--r-- | tests/expr.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/expr.test b/tests/expr.test index c49a9ff..fd11870 100644 --- a/tests/expr.test +++ b/tests/expr.test @@ -5841,6 +5841,12 @@ test expr-32.6 {Bug 1585704} { test expr-32.7 {bignum regression} { expr {0%(1<<63)} } 0 +test expr-32.8 {bignum regression} { + expr {0%-(1<<63)} +} 0 +test expr-32.9 {bignum regression} { + expr {0%-(1+(1<<63))} +} 0 test expr-33.1 {parse largest long value} longIs32bit { set max_long_str 2147483647 |