mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
234 B
Plaintext
15 lines
234 B
Plaintext
{
|
|
let a := 1
|
|
for {} iszero(eq(a, 10)) { a := add(a, 1) } {
|
|
a := add(a, 1)
|
|
}
|
|
}
|
|
// ----
|
|
// step: forLoopInitRewriter
|
|
//
|
|
// {
|
|
// let a := 1
|
|
// for { } iszero(eq(a, 10)) { a := add(a, 1) }
|
|
// { a := add(a, 1) }
|
|
// }
|