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;
}
}
// ====
// compileViaYul: true
// compileToEwasm: also
// ----
// f(bool): true -> true