solidity/test/libyul/yulOptimizerTests/loadResolver/double_mload_with_other_reassignment.yul
Daniel Kirchner 10618188dd Update tests.
2021-11-09 14:34:05 +01:00

19 lines
280 B
Plaintext

{
let x := calldataload(0)
let a := mload(x)
x := 7
let b := mload(x)
sstore(a, b)
}
// ----
// step: loadResolver
//
// {
// {
// let x := calldataload(0)
// let a := mload(x)
// x := 7
// sstore(a, mload(x))
// }
// }