solidity/test/libyul/yulOptimizerTests/controlFlowSimplifier/terminating_for_revert_plus_break.yul
2019-05-13 18:58:55 +02:00

21 lines
309 B
Plaintext

{
for {} calldatasize() { mstore(1, 2) } {
let x := 7
mstore(4, 5)
break
revert(0, x)
}
}
// ====
// step: controlFlowSimplifier
// ----
// {
// for { } calldatasize() { mstore(1, 2) }
// {
// let x := 7
// mstore(4, 5)
// break
// revert(0, x)
// }
// }