solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/433_pure_statement_in_for_loop.sol

9 lines
167 B
Solidity
Raw Normal View History

contract C {
function f() pure public {
for (uint x = 0; x < 10; true)
x++;
}
}
// ----
// Warning 6133: (77-81): Statement has no effect.