mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
224 B
Solidity
14 lines
224 B
Solidity
contract C {
|
|
function f() public returns (uint x, uint y) {
|
|
assembly {
|
|
x := true
|
|
y := false
|
|
}
|
|
}
|
|
}
|
|
// ====
|
|
// compileToEwasm: also
|
|
// compileViaYul: also
|
|
// ----
|
|
// f() -> 1, 0
|