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

18 lines
284 B
Plaintext
Raw Normal View History

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