mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
335 B
Plaintext
15 lines
335 B
Plaintext
|
{
|
||
|
function f(a, b) -> x, y {
|
||
|
x := add(a, b)
|
||
|
y := mul(a, b)
|
||
|
}
|
||
|
let r, t := f(6, 7)
|
||
|
sstore(r, t)
|
||
|
}
|
||
|
// ----
|
||
|
// Trace:
|
||
|
// SSTORE(13, 42)
|
||
|
// Memory dump:
|
||
|
// Storage dump:
|
||
|
// 000000000000000000000000000000000000000000000000000000000000000d: 000000000000000000000000000000000000000000000000000000000000002a
|