aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/smtCheckerTests/042_for_loop.sol
blob: 58c9f3a78fe041fffc4402bc03cf2aaf6b8c15fb (plain) (tree)
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);
        }
    }
}