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.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/expression/simplifications.py b/test/expression/simplifications.py
index 1e8e73ba..b4f5b783 100644
--- a/test/expression/simplifications.py
+++ b/test/expression/simplifications.py
@@ -134,6 +134,10 @@ to_test = [(ExprInt(1, 32) - ExprInt(1, 32), ExprInt(0, 32)),
     (ExprOp('*', a, b, c, ExprInt(0x12, 32))[0:17],
      ExprOp(
      '*', a[0:17], b[0:17], c[0:17], ExprInt(0x12, 17))),
+    (ExprOp('*', a, ExprInt(0x0, 32)),
+     ExprInt(0x0, 32)),
+    (ExprOp('&', a, ExprInt(0x0, 32)),
+     ExprInt(0x0, 32)),
     (ExprOp('*', a, ExprInt(0xffffffff, 32)),
      -a),
     (ExprOp('*', -a, -b, c, ExprInt(0x12, 32)),