about summary refs log tree commit diff stats
path: root/test/expression/expression.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2018-07-04 15:19:29 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2018-07-19 13:17:49 +0200
commita7e3b1b6237c94e932fcf2f2f9f268f04c7b34c7 (patch)
tree36daa35a0e1725f748d967745e15b641095a3137 /test/expression/expression.py
parenta5925ddba272cb9ca85ebc22d906a306dab56147 (diff)
downloadfocaccia-miasm-a7e3b1b6237c94e932fcf2f2f9f268f04c7b34c7.tar.gz
focaccia-miasm-a7e3b1b6237c94e932fcf2f2f9f268f04c7b34c7.zip
Expression: fix slice assignment
Diffstat (limited to 'test/expression/expression.py')
-rw-r--r--test/expression/expression.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/expression/expression.py b/test/expression/expression.py
index 6bb6d94c..b998d4a5 100644
--- a/test/expression/expression.py
+++ b/test/expression/expression.py
@@ -65,3 +65,8 @@ for expr in [
 ]:
     print repr(expr)
     assert expr == eval(repr(expr))
+
+
+aff = ExprAff(A[0:32], cst1)
+
+assert aff.dst == A and aff.src == cst1