solidity/test/libyul/functionSideEffects/with_loop.yul
2020-08-18 14:53:59 +02:00

10 lines
223 B
Plaintext

{
function f() -> x { x := g() }
function g() -> x { for {} 1 {} {} }
pop(f())
}
// ----
// : movable apart from effects, can loop
// f: movable apart from effects, can loop
// g: movable apart from effects, can loop