070 reject terminal before effect at decl

✓ Passing This code compiles and runs correctly.

Code

input.kz

Must fail at frontend compile:

Parsing or type-checking must reject the program.

Expected patterns

Each line is a regex that must match the program output.

error\[KORU023\]
effect.*branch.*after.*terminal
! each
input\.kz:18