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