solidity/test/libsolidity/smtCheckerTests/bool_simple_6.sol
2018-11-22 13:33:28 +00:00

10 lines
169 B
Solidity

pragma experimental SMTChecker;
contract C {
function f(bool x) public pure {
require(x);
bool y;
y = false;
assert(x || y);
}
}