Test for true/false in inline assembly.

This commit is contained in:
chriseth
2020-01-14 17:16:09 +01:00
parent 123ea0a250
commit 0f014144c8
@@ -0,0 +1,12 @@
contract C {
function f() public returns (uint x, uint y) {
assembly {
x := true
y := false
}
}
}
// ====
// compileViaYul: also
// ----
// f() -> 1, 0