solidity/test/libsolidity/semanticTests/viaYul/local_bool_assignment.sol
2019-04-11 15:45:14 +02:00

11 lines
174 B
Solidity

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