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

9 lines
143 B
Solidity
Raw Normal View History

2019-03-18 10:21:41 +00:00
contract C {
function f(bool a) public pure returns (bool x) {
bool b = a;
x = b;
}
}
// ----
// f(bool): true -> true