solidity/test/libsolidity/semanticTests/inlineAssembly/truefalse.sol
2020-01-14 17:16:09 +01:00

13 lines
200 B
Solidity

contract C {
function f() public returns (uint x, uint y) {
assembly {
x := true
y := false
}
}
}
// ====
// compileViaYul: also
// ----
// f() -> 1, 0