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

22 lines
233 B
Plaintext
Raw Normal View History

2019-03-28 13:18:17 +00:00
{
fun()
revert(0, 0)
function fun()
{
2021-10-25 14:54:29 +00:00
sstore(0, 1)
2019-03-28 13:18:17 +00:00
}
pop(add(1, 1))
}
// ----
// step: deadCodeEliminator
//
2019-03-28 13:18:17 +00:00
// {
// fun()
// revert(0, 0)
// function fun()
2021-10-25 14:54:29 +00:00
// { sstore(0, 1) }
2019-03-28 13:18:17 +00:00
// }