solidity/test/libyul/ewasmTranslationTests/codecopy.yul
2019-12-10 17:00:45 +00:00

12 lines
402 B
Plaintext

{
codecopy(0x100, 0, codesize())
sstore(0, mload(0x100))
}
// ----
// Trace:
// Memory dump:
// 20: 636f6465636f6465636f6465636f6465636f6465000000000000000000000000
// 140: 636f6465636f6465636f6465636f6465636f6465000000000000000000000000
// Storage dump:
// 0000000000000000000000000000000000000000000000000000000000000000: 636f6465636f6465636f6465636f6465636f6465000000000000000000000000