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