mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
17 lines
410 B
Solidity
17 lines
410 B
Solidity
function f() pure {
|
|
/// @custom:test { "isSimpleCounterLoop": true }
|
|
for (uint i = 0; i < 32; ++i) {
|
|
}
|
|
/// @custom:test { "isSimpleCounterLoop": true }
|
|
for (uint i = 0; i < 32; i++) {
|
|
}
|
|
/// @custom:test { "isSimpleCounterLoop": true }
|
|
for (uint i = 0; i < i; ++i) {
|
|
}
|
|
/// @custom:test { "isSimpleCounterLoop": false }
|
|
for (uint i = 0; 0 < i; ++i) {
|
|
}
|
|
}
|
|
|
|
// ----
|