solidity/test/libsolidity/smtCheckerTests/verification_target/constant_condition_2.sol
2022-04-01 23:41:18 -05:00

10 lines
210 B
Solidity

contract C {
function f(uint x) public pure {
if (x >= 10) { if (x < 10) { revert(); } }
}
}
// ====
// SMTEngine: all
// ----
// Warning 6838: (77-83='x < 10'): BMC: Condition is always false.