about summary refs log tree commit diff stats
path: root/test/expression/simplifications.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/expression/simplifications.py')
-rw-r--r--test/expression/simplifications.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/expression/simplifications.py b/test/expression/simplifications.py
index acef0904..1b0c3d6c 100644
--- a/test/expression/simplifications.py
+++ b/test/expression/simplifications.py
@@ -144,6 +144,8 @@ to_test = [(ExprInt32(1) - ExprInt32(1), ExprInt32(0)),
      ExprOp('*', a, b, c, ExprInt32(0x12))),
     (ExprOp('*', -a, -b, -c, ExprInt32(0x12)),
      - ExprOp('*', a, b, c, ExprInt32(0x12))),
+     (ExprOp('**', ExprInt32(2), ExprInt32(8)), ExprInt32(0x100)),
+     (ExprInt32(2)**ExprInt32(8), ExprInt32(256)),
     (a | ExprInt32(0xffffffff),
      ExprInt32(0xffffffff)),
     (ExprCond(a, ExprInt32(1), ExprInt32(2)) * ExprInt32(4),