solidity/test/libsolidity/semanticTests/viaYul/local_bool_assignment.sol
2022-05-19 20:23:28 +02:00

11 lines
175 B
Solidity

contract C {
function f(bool a) public pure returns (bool x) {
bool b = a;
x = b;
}
}
// ====
// compileToEwasm: also
// ----
// f(bool): true -> true