solidity/test/libyul/ewasmTranslationTests/extcodecopy.yul

12 lines
428 B
Plaintext

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