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

18 lines
315 B
Plaintext
Raw Normal View History

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