solidity/test/libyul/yulOptimizerTests/expressionSimplifier/reassign.yul

15 lines
185 B
Plaintext
Raw Normal View History

{
let x := mload(0)
x := 0
mstore(0, add(7, x))
}
// ----
// step: expressionSimplifier
//
// {
2020-08-03 20:42:39 +00:00
// let _1 := 0
// let x := mload(_1)
// x := _1
// mstore(_1, 7)
// }