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

19 lines
331 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))
// }
// }