diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-07-04 15:19:29 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-07-19 13:17:49 +0200 |
| commit | a7e3b1b6237c94e932fcf2f2f9f268f04c7b34c7 (patch) | |
| tree | 36daa35a0e1725f748d967745e15b641095a3137 /test/expression | |
| parent | a5925ddba272cb9ca85ebc22d906a306dab56147 (diff) | |
| download | focaccia-miasm-a7e3b1b6237c94e932fcf2f2f9f268f04c7b34c7.tar.gz focaccia-miasm-a7e3b1b6237c94e932fcf2f2f9f268f04c7b34c7.zip | |
Expression: fix slice assignment
Diffstat (limited to 'test/expression')
| -rw-r--r-- | test/expression/expression.py | 5 |
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 |