solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/434_pure_statement_check_for_regular_for_loop.sol

7 lines
99 B
Solidity

contract C {
function f() pure public {
for (uint x = 0; true; x++)
{}
}
}