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

11 lines
174 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;
}
}
// ====
// compileViaYul: true
// ----
// f(bool): true -> true