aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/smtCheckerTestsJSON/multi.sol
blob: e0d69b1d0aecfcb28db439aea9f3260129f937eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
pragma experimental SMTChecker;

contract C
{
    function f(uint x) public pure {
        assert(x > 0);
        assert(x > 100);
        assert(x >= 0);
    }
}
// ----
// Warning: (82-95): Assertion violation happens here
// Warning: (99-114): Assertion violation happens here