solidity/test/libyul/yulOptimizerTests/forLoopInitRewriter/empty_pre.yul

15 lines
239 B
Plaintext
Raw Normal View History

{
let a := 1
for {} iszero(eq(a, 10)) { a := add(a, 1) } {
a := add(a, 1)
}
}
2019-04-01 14:33:46 +00:00
// ====
// step: forLoopInitRewriter
// ----
// {
// let a := 1
// for { } iszero(eq(a, 10)) { a := add(a, 1) }
// { a := add(a, 1) }
// }