mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
17 lines
208 B
Solidity
17 lines
208 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
|
|
// compileToEwasm: also
|
|
// ----
|
|
// f() -> 0, 0
|