solidity/test/libyul/yulInterpreterTests/loop.yul

11 lines
233 B
Plaintext
Raw Normal View History

2018-02-08 17:20:54 +00:00
{
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: