aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/smtCheckerTests/025_bool_simple.sol
blob: 90350bb64b38bca446037246fec0fd9c2a061d75 (plain) (blame)
1
2
3
4
5
6
7
8
9
pragma experimental SMTChecker;
contract C {
    function f(bool x) public pure {
        require(x);
        bool y;
        y = false;
        assert(x || y);
    }
}