aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/scoping/scoping_for2.sol
blob: f8c5c19b6c9fff0bdf4f677f1825915f3d9d8325 (plain) (blame)
1
2
3
4
5
6
contract test {
    function f() pure public {
        for (uint x = 0; x < 10; x ++)
            x = 2;
    }
}