solidity/test/libsolidity/syntaxTests/scoping/scoping_for2.sol
2018-03-16 00:47:32 +01:00

8 lines
143 B
Solidity

pragma experimental "v0.5.0";
contract test {
function f() pure public {
for (uint x = 0; x < 10; x ++)
x = 2;
}
}