solidity/test/libyul/ewasmTranslationTests/codesize.yul

10 lines
291 B
Plaintext
Raw Normal View History

{
sstore(0, codesize())
}
// ----
// Trace:
// Memory dump:
// 20: 0000000000000000000000000000000000000000000000000000000000000014
// Storage dump:
// 0000000000000000000000000000000000000000000000000000000000000000: 0000000000000000000000000000000000000000000000000000000000000014