solidity/test/libyul/ewasmTranslationTests/smoke_callcode.yul

11 lines
348 B
Plaintext

{
sstore(0, callcode(gas(), address(), 42, 0, 0x20, 0x20, 0x20))
}
// ----
// Trace:
// CALLCODE()
// Memory dump:
// 20: 0000000000000000000000000000000000000000000000000000000000000001
// Storage dump:
// 0000000000000000000000000000000000000000000000000000000000000000: 0000000000000000000000000000000000000000000000000000000000000001