aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/smtCheckerTests/039_constant_condition.sol
blob: aaa613eab1c6ac00f2ccb16d7a720e67f7a4d220 (plain) (blame)
1
2
3
4
5
6
7
8
9
pragma experimental SMTChecker;
contract C {
    function f(uint x) public pure {
        if (x >= 10) { if (x < 10) { revert(); } }
    }
}
// ----
// Warning: (109-115): Condition is always false.
// Warning: (119-127): Assertion checker does not yet implement this type of function call.