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

24 lines
263 B
Plaintext
Raw Normal View History

2019-03-28 13:18:17 +00:00
{
fun()
revert(0, 0)
function fun()
{
return(1, 1)
pop(sub(10, 5))
}
pop(add(1, 1))
}
2019-04-01 14:33:46 +00:00
// ====
// step: deadCodeEliminator
2019-03-28 13:18:17 +00:00
// ----
// {
// fun()
// revert(0, 0)
// function fun()
// { return(1, 1) }
2019-03-28 13:18:17 +00:00
// }