mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
27 lines
419 B
Plaintext
27 lines
419 B
Plaintext
{
|
|
let i := 0
|
|
for {} lt(i, 2) { i := add(i, 1) }
|
|
{
|
|
let x
|
|
x := 1337
|
|
if lt(i,1) {
|
|
x := 42
|
|
break
|
|
}
|
|
mstore(0, x)
|
|
}
|
|
}
|
|
// ----
|
|
// step: unusedAssignEliminator
|
|
//
|
|
// {
|
|
// let i := 0
|
|
// for { } lt(i, 2) { i := add(i, 1) }
|
|
// {
|
|
// let x
|
|
// x := 1337
|
|
// if lt(i, 1) { break }
|
|
// mstore(0, x)
|
|
// }
|
|
// }
|