statement_for_abort.sol 220 B

1234567891011
  1. contract Foo {
  2. function foo(uint256 n) public {
  3. // all three omitted
  4. for (;;) {
  5. // there must be a way out
  6. if (n == 0) {
  7. break;
  8. }
  9. }
  10. }
  11. }