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