solidity/test/libyul/yulOptimizerTests/fullSimplify/inside_for.yul
Daniel Kirchner 10618188dd Update tests.
2021-11-09 14:34:05 +01:00

16 lines
277 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) }
// { }
// }
// }