summaryrefslogtreecommitdiffstats
path: root/tests/expr.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2018-02-14 12:52:06 (GMT)
committerdgp <dgp@users.sourceforge.net>2018-02-14 12:52:06 (GMT)
commit40e9ab2e654ef81e10d38260c765346aca33077e (patch)
treee4c94bebb0d029f51cc230483072668272744e50 /tests/expr.test
parenta7c17bc224dea481e831d6da7f924d8e064a5506 (diff)
downloadtcl-40e9ab2e654ef81e10d38260c765346aca33077e.zip
tcl-40e9ab2e654ef81e10d38260c765346aca33077e.tar.gz
tcl-40e9ab2e654ef81e10d38260c765346aca33077e.tar.bz2
More tests for bignum modules regressions.
Diffstat (limited to 'tests/expr.test')
-rw-r--r--tests/expr.test6
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