diff options
author | dgp <dgp@users.sourceforge.net> | 2006-11-05 03:33:56 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2006-11-05 03:33:56 (GMT) |
commit | b245297bd949029c02f962cebe26f139d860e12d (patch) | |
tree | 264ef29653c5c4d643fcd6144b7e8d438c41b036 /tests/expr.test | |
parent | f0fce3b27df91a506d77ccc5bfec17437a6f079e (diff) | |
download | tcl-b245297bd949029c02f962cebe26f139d860e12d.zip tcl-b245297bd949029c02f962cebe26f139d860e12d.tar.gz tcl-b245297bd949029c02f962cebe26f139d860e12d.tar.bz2 |
TIP#274 IMPLEMENTATION
* generic/tclParseExpr.c: Exponentiation operator is now
* tests/expr.test: right associative. [Patch 1556802]
Diffstat (limited to 'tests/expr.test')
-rw-r--r-- | tests/expr.test | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/expr.test b/tests/expr.test index 9fc56e5..7064f17 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.64 2006/10/30 16:30:36 dgp Exp $ +# RCS: @(#) $Id: expr.test,v 1.65 2006/11/05 03:33:57 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2.1 @@ -980,6 +980,9 @@ test expr-23.46 {INST_EXPON: Bug 1561260} -body { test expr-23.47 {INST_EXPON: Bug 1561260} { expr 2**32*5**32 } 1[string repeat 0 32] +test expr-23.48 {INST_EXPON: TIP 274: right assoc} { +expr 2**3**4 +} 2417851639229258349412352 # Some compilers get this wrong; ensure that we work around it correctly test expr-24.1 {expr edge cases; shifting} {expr int(5)>>32} 0 |