solidity/test/libyul/functionSideEffects/verbatim.yul
2021-04-26 19:56:44 +02:00

9 lines
320 B
Plaintext

{
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