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

14 lines
224 B
Solidity
Raw Normal View History

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