solidity/test/libyul/yulInterpreterTests/leave_for_init.yul

19 lines
347 B
Plaintext
Raw Normal View History

2019-10-28 14:46:58 +00:00
{
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