solidity/test/libyul/functionSideEffects/verbatim.yul

9 lines
320 B
Plaintext
Raw Normal View History

2021-04-22 12:41:50 +00:00
{
function a() -> x { x := verbatim_0i_1o(hex"6007") }
function b() { let t := a() }
}
// ----
// : movable, movable apart from effects, can be removed, can be removed if no msize
// a: can loop, writes other state, writes storage, writes memory
// b: can loop, writes other state, writes storage, writes memory