solidity/test/libyul/yulOptimizerTests/forLoopConditionIntoBody/empty_body.yul

13 lines
241 B
Plaintext
Raw Normal View History

2019-05-18 05:36:29 +00:00
{
for { let a := 1 } iszero(eq(a, 10)) { a := add(a, 1) } { }
}
// ====
// step: forLoopConditionIntoBody
// ----
// {
// for { let a := 1 } 1 { a := add(a, 1) }
// {
// if iszero(iszero(eq(a, 10))) { break }
// }
// }