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

13 lines
239 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
//
2019-05-18 05:36:29 +00:00
// {
// for { let a := 1 } true { a := add(a, 1) }
2019-05-18 05:36:29 +00:00
// {
// if iszero(iszero(eq(a, 10))) { break }
// }
// }