solidity/test/libyul/functionSideEffects/with_loop.yul

10 lines
223 B
Plaintext
Raw Normal View History

2019-12-02 11:33:24 +00:00
{
function f() -> x { x := g() }
function g() -> x { for {} 1 {} {} }
pop(f())
}
// ----
2020-07-01 10:07:00 +00:00
// : movable apart from effects, can loop
// f: movable apart from effects, can loop
// g: movable apart from effects, can loop