solidity/test/libyul/yulOptimizerTests/fullSimplify/inside_for.yul

14 lines
252 B
Plaintext

{
let x := calldataload(3)
let a := 10
for { } iszero(eq(a, sub(x, calldataload(3)))) { a := add(a, 1) } {}
}
// ====
// step: fullSimplify
// ----
// {
// let a := 10
// for { } iszero(iszero(a)) { a := add(a, 1) }
// { }
// }