solidity/test/libsolidity/semanticTests/empty_for_loop.sol
2023-05-11 10:56:55 -05:00

12 lines
191 B
Solidity

contract test {
function f() public returns(uint ret) {
ret = 1;
for (;;) {
ret += 1;
if (ret >= 10) break;
}
}
}
// ----
// f() -> 10