Files
hakorune/apps/tests/shortcircuit_and_phi_skip.hako

10 lines
178 B
Plaintext

static box Main {
main(args) {
local x = 0
((x = x + 1) < 0) && ((x = x + 1) < 0)
// LHS が false → RHS は評価されず x は 1 のまま
return x
}
}