Static Analyzer for Solidity
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
slither/tests/e2e/solc_parsing/test_data/continue-all.sol

21 lines
426 B

4 years ago
contract C {
function f() public {
uint c;
for (uint i = 0; i < 10; i++) {
if (i % 2 == 0) {
continue;
}
c++;
}
for (uint j = 0; j < 10; j++) {
for (uint k = 0; k < 10; k++) {
if (j % 2 == 0 && k % 3 == 0) {
continue;
}
c++;
}
}
}
}