2018-10-01 16:27:07 +00:00
|
|
|
{
|
|
|
|
// The component will remove the empty block after
|
|
|
|
// it has handled the outer block.
|
|
|
|
// The idea behind this test is that the component
|
|
|
|
// does not perform replacements across blocks because
|
|
|
|
// they usually have contents, but adding contents
|
|
|
|
// will reduce the scope of the test.
|
|
|
|
let a := mload(2)
|
|
|
|
let x := calldataload(a)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
sstore(x, 3)
|
|
|
|
}
|
|
|
|
// ----
|
2020-03-17 22:31:56 +00:00
|
|
|
// step: expressionJoiner
|
|
|
|
//
|
2018-10-01 16:27:07 +00:00
|
|
|
// {
|
2021-11-09 12:25:25 +00:00
|
|
|
// {
|
|
|
|
// let x := calldataload(mload(2))
|
|
|
|
// sstore(x, 3)
|
|
|
|
// }
|
2018-10-01 16:27:07 +00:00
|
|
|
// }
|