solidity/test/libyul/ewasmTranslationTests/extcodesize.yul
2021-01-19 13:04:45 -05:00

10 lines
303 B
Plaintext

{
sstore(0, extcodesize(address()))
}
// ----
// Trace:
// Memory dump:
// 20: 000000000000000000000000000000000000000000000000000000000000077b
// Storage dump:
// 0000000000000000000000000000000000000000000000000000000000000000: 000000000000000000000000000000000000000000000000000000000000077b