2020-03-09 21:14:07 +00:00
|
|
|
contract C {
|
|
|
|
function f() public pure returns (uint a, uint b) {
|
|
|
|
assembly {
|
|
|
|
let x
|
|
|
|
let y, z
|
|
|
|
a := x
|
|
|
|
b := z
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// ====
|
|
|
|
// compileViaYul: also
|
2020-11-21 13:54:16 +00:00
|
|
|
// compileToEwasm: also
|
2020-03-09 21:14:07 +00:00
|
|
|
// ----
|
|
|
|
// f() -> 0, 0
|