solidity/test/libsolidity/smtCheckerTests/control_flow/branches_assert_condition_1.sol

13 lines
203 B
Solidity
Raw Normal View History

contract C {
function f(uint x) public pure {
if (x > 10) {
assert(x > 9);
}
else
{
assert(x < 11);
}
}
}
2021-03-31 15:11:54 +00:00
// ====
// SMTEngine: all