solidity/test/libyul/yulInterpreterTests/loop.yul
2019-05-23 13:17:27 +02:00

11 lines
233 B
Plaintext

{
for { let x := 2 } lt(x, 10) { x := add(x, 1) } {
mstore(mul(x, 5), mul(x, 0x1000))
}
}
// ----
// Trace:
// Memory dump:
// 40: 0000000000000000000000900000000000000000000000000000000000000000
// Storage dump: