aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/smtCheckerTests/bool_simple_3.sol
blob: 1d2ab49f7843b8faddb5fac18d685813655c5dae (plain) (blame)
1
2
3
4
5
6
7
pragma experimental SMTChecker;
contract C {
    function f(bool x, bool y) public pure {
        bool z = x || y;
        assert(!(x && y) || z);
    }
}