solidity/test/libyul/yulInterpreterTests/function_calls.yul

14 lines
315 B
Plaintext
Raw Normal View History

2018-02-08 17:20:54 +00:00
{
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