solidity/test/libyul/ewasmTranslationTests/smoke_create.yul
2019-12-18 14:58:28 +00:00

12 lines
227 B
Plaintext

{
let size := codesize()
codecopy(0, 0, size)
sstore(0, create(42, 0, size))
}
// ----
// Trace:
// INVALID()
// Memory dump:
// 40: 636f6465636f6465636f6465636f6465636f6465000000000000000000000000
// Storage dump: