solidity/test/libyul/yulInterpreterTests/leave_for_init.yul
2019-10-29 14:32:16 +01:00

19 lines
347 B
Plaintext

{
function f() -> x
{
for { leave x := 2 } eq(x, 0) { } {
}
}
{
let a := f()
sstore(a, 7)
}
}
// ====
// EVMVersion: >=constantinople
// ----
// Trace:
// Memory dump:
// Storage dump:
// 0000000000000000000000000000000000000000000000000000000000000000: 0000000000000000000000000000000000000000000000000000000000000007