aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/smtCheckerTests/verification_target/constant_condition_3.sol
blob: f22cd65e56337ff7101c174ed30898a3c1536c5c (plain) (blame)
1
2
3
4
5
6
7
8
9
pragma experimental SMTChecker;
// a plain literal constant is fine
contract C {
    function f(uint) public pure {
        if (true) { revert(); }
    }
}
// ----
// Warning: (136-144): Assertion checker does not yet implement this type of function call.