mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
27 lines
341 B
Plaintext
27 lines
341 B
Plaintext
{
|
|
for {
|
|
let a := 20
|
|
}
|
|
lt(a, 40)
|
|
{
|
|
a := add(a, 2)
|
|
}
|
|
{
|
|
a := a
|
|
if lt(a, 0)
|
|
{ break }
|
|
}
|
|
}
|
|
|
|
// ====
|
|
// step: deadCodeEliminator
|
|
// ----
|
|
// {
|
|
// let a := 20
|
|
// for { } lt(a, 40) { a := add(a, 2) }
|
|
// {
|
|
// a := a
|
|
// if lt(a, 0) { break }
|
|
// }
|
|
// }
|