solidity/test/libyul/yulOptimizerTests/deadCodeEliminator/early_revert.yul

25 lines
283 B
Plaintext

{
let b := 20
revert(0, 0)
for {
let a := 20
}
lt(a, 40)
{
a := add(a, 2)
}
{
a := a
mstore(0, a)
a := add(a, 10)
}
}
// ----
// step: deadCodeEliminator
//
// {
// let b := 20
// revert(0, 0)
// }