aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/smtCheckerTests/bool_int_mixed_1.sol
blob: d611cc177411b42627957787b1c7b2546ad039d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
pragma experimental SMTChecker;
contract C {
    function f(bool x) public pure {
        uint a;
        if(x)
            a = 1;
        assert(!x || a > 0);
    }
}