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

19 lines
262 B
Plaintext

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