solidity/test/libsolidity/semanticTests/inlineAssembly/truefalse.sol

13 lines
200 B
Solidity
Raw Normal View History

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