solidity/test/libyul/yulOptimizerTests/loadResolver/verbatim_sload.yul

24 lines
430 B
Plaintext
Raw Normal View History

{
sstore(10, 20)
// will be resolved
sstore(30, sload(10))
verbatim_0i_0o("test")
// will not be resolved
sstore(30, sload(10))
}
// ----
// step: loadResolver
//
// {
2021-11-09 12:25:25 +00:00
// {
// let _1 := 20
// let _2 := 10
// sstore(_2, _1)
// let _4 := _1
// let _5 := 30
// sstore(_5, _4)
// verbatim_0i_0o("test")
// sstore(_5, sload(_2))
// }
// }