aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/smtCheckerTests/bool_simple_4.sol
blob: c40404a4374ed695f66f848f52d7659c45dc25f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
pragma experimental SMTChecker;
contract C {
    function f(bool x) public pure {
        if(x) {
            assert(x);
        } else {
            assert(!x);
        }
    }
}