solidity/test/cmdlineTests/yul_verbatim_msize/input.yul

8 lines
177 B
Plaintext
Raw Normal View History

2021-03-17 18:37:39 +00:00
{
// The optimizer assumes verbatim could contain msize,
// so it cannot optimize the mload away.
let x := mload(0x2000)
verbatim_0i_0o("aa")
2021-03-17 18:37:39 +00:00
sstore(0, 2)
}