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

15 lines
212 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
// ----