mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
17 lines
513 B
Plaintext
17 lines
513 B
Plaintext
|
object "main"
|
||
|
{
|
||
|
code {
|
||
|
sstore(0, datasize("main"))
|
||
|
sstore(1, datasize("sub"))
|
||
|
}
|
||
|
object "sub" { code { sstore(0, 1) } }
|
||
|
}
|
||
|
// ----
|
||
|
// Trace:
|
||
|
// SSTORE(0, 2916)
|
||
|
// SSTORE(1, 265)
|
||
|
// Memory dump:
|
||
|
// Storage dump:
|
||
|
// 0000000000000000000000000000000000000000000000000000000000000000: 0000000000000000000000000000000000000000000000000000000000000b64
|
||
|
// 0000000000000000000000000000000000000000000000000000000000000001: 0000000000000000000000000000000000000000000000000000000000000109
|