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

10 lines
192 B
Solidity

contract C {
function f(uint x) public pure {
if (x >= 0) { revert(); }
}
}
// ====
// SMTEngine: all
// ----
// Warning 6838: (62-68='x >= 0'): BMC: Condition is always true.