aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/smtCheckerTests/for_loop_2.sol
blob: 58c9f3a78fe041fffc4402bc03cf2aaf6b8c15fb (plain) (blame)
1
2
3
4
5
6
7
8
pragma experimental SMTChecker;
contract C {
    function f(uint x) public pure {
        for (; x == 2; ) {
            assert(x == 2);
        }
    }
}