// Phase 33-19: Pattern B test - else-side continue (simplified)
// Tests: if (cond) { body } else { continue }
// This version uses a hardcoded constant instead of variable M

static box Main {
  main(args) {
    local i = 0
    local sum = 0

    loop(i < 5) {
      i = i + 1
      // Pattern B: Process when i != 5, continue when i == 5
      if (i != 5) {
        sum = sum + i
      } else {
        continue
      }
    }

    // Expected: sum = 1 + 2 + 3 + 4 = 10
    // (i=5 is skipped by continue)
    print(sum)
    return 0
  }
}
