aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/smtCheckerTests/005_simple_assert.sol
blob: 8bd6e61a6cabba69e110bfac098a24b9f49b76be (plain) (blame)
1
2
3
4
5
6
pragma experimental SMTChecker;
contract C {
    function f(uint a) public pure { assert(a == 2); }
}
// ----
// Warning: (82-96): Assertion violation happens here