solidity/test/libyul/yulOptimizerTests/loadResolver/keccak_fail2.yul
2021-04-22 18:19:47 +02:00

17 lines
297 B
Plaintext

{
mstore(100, 10)
mstore(132, 5)
// Won't be evaluated, even though the value is known
let val := keccak256(10, 33)
sstore(0, val)
}
// ----
// step: loadResolver
//
// {
// let _1 := 10
// mstore(100, _1)
// mstore(132, 5)
// sstore(0, keccak256(_1, 33))
// }