solidity/test/libsolidity/smtCheckerTests/types/bool_simple_6.sol

10 lines
169 B
Solidity
Raw Normal View History

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