solidity/test/libsolidity/semanticTests/viaYul/local_bool_assignment.sol

12 lines
198 B
Solidity

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