aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/smtCheckerTests/constant_condition_1.sol
blob: b9fae4ee0364c65138d29b8ce1235c83caed7e31 (plain) (blame)
1
2
3
4
5
6
7
8
9
pragma experimental SMTChecker;
contract C {
    function f(uint x) public pure {
        if (x >= 0) { revert(); }
    }
}
// ----
// Warning: (94-100): Condition is always true.
// Warning: (104-112): Assertion checker does not yet implement this type of function call.