solidity/test/libyul/yulOptimizerTests/controlFlowSimplifier/terminating_for_revert_plus_break.yul

21 lines
304 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)
// }
// }