summaryrefslogtreecommitdiffstats
path: root/tests/expr.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2018-02-14 14:50:24 (GMT)
committerdgp <dgp@users.sourceforge.net>2018-02-14 14:50:24 (GMT)
commite4364f45cc81117f8dc391083db59578eedb4e8c (patch)
treeb55f664679142700f96dddd54d343be8ba51d468 /tests/expr.test
parent967136cc0fc900568ae3ca55180e894787df551e (diff)
parent55898c44b95ad321d7caa6b38bd94fb955c01d89 (diff)
downloadtcl-e4364f45cc81117f8dc391083db59578eedb4e8c.zip
tcl-e4364f45cc81117f8dc391083db59578eedb4e8c.tar.gz
tcl-e4364f45cc81117f8dc391083db59578eedb4e8c.tar.bz2
merge 8.7
Diffstat (limited to 'tests/expr.test')
-rw-r--r--tests/expr.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/expr.test b/tests/expr.test
index 12a0a2e..695469b 100644
--- a/tests/expr.test
+++ b/tests/expr.test
@@ -5799,6 +5799,15 @@ test expr-32.5 {Bug 1585704} {
test expr-32.6 {Bug 1585704} {
expr -(1<<32)%(1<<63)
} [expr (1<<63)-(1<<32)]
+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