solidity/test/libyul/yulInterpreterTests/function_calls.yul
2019-05-23 13:17:27 +02:00

14 lines
315 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:
// Memory dump:
// Storage dump:
// 000000000000000000000000000000000000000000000000000000000000000d: 000000000000000000000000000000000000000000000000000000000000002a