✓
Passing Passing: the compiler rejects this program as expected.
Code
// Test: @loop without matching #loop
// GOOD: Backend catches with "Unknown label referenced"
tor foo {}
foo() |> @loop
Actual compiler output
error[KORU041]: unknown label '@loop'
--> tests/regression/500_INTEGRATION_TESTING/510_NEGATIVE_TESTS/510_067_orphan_loop_jump/input.k:6:1Must fail at backend compile:
Code generation must reject the program.
Error output must contain
error[KORU041]: unknown label '@loop'Flows
flow ~foo click a branch to expand · @labels scroll to their anchor
foo
Test Configuration
MUST_ERROR