mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
16 lines
184 B
Solidity
16 lines
184 B
Solidity
|
contract C {
|
||
|
function f() public pure returns (uint a, uint b) {
|
||
|
assembly {
|
||
|
let x
|
||
|
let y, z
|
||
|
a := x
|
||
|
b := z
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// ====
|
||
|
// compileViaYul: also
|
||
|
// ----
|
||
|
// f() -> 0, 0
|