diff options
Diffstat (limited to 'test/libyul/yulOptimizerTests/expressionSimplifier/unassigend_vars_multi.yul')
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionSimplifier/unassigend_vars_multi.yul | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/libyul/yulOptimizerTests/expressionSimplifier/unassigend_vars_multi.yul b/test/libyul/yulOptimizerTests/expressionSimplifier/unassigend_vars_multi.yul new file mode 100644 index 00000000..8c1ad789 --- /dev/null +++ b/test/libyul/yulOptimizerTests/expressionSimplifier/unassigend_vars_multi.yul @@ -0,0 +1,12 @@ +// c & d can't be optimized as expression simplifier doesn't handle default +// values yet +{ + let c, d + let y := add(d, add(c, 7)) +} +// ---- +// expressionSimplifier +// { +// let c, d +// let y := add(add(d, c), 7) +// } |