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

12 lines
198 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: also
// compileToEwasm: also
2019-03-18 10:21:41 +00:00
// ----
// f(bool): true -> true