002 uncaught still traps

✓ Passing This code compiles and runs correctly.

Code

input.k

Must contain:

caught -1

Flows

subflow ~risky click a branch to expand · @labels scroll to their anchor
if (code < 0)
subflow ~lethal click a branch to expand · @labels scroll to their anchor
if (code < 0)
flow ~catch click a branch to expand · @labels scroll to their anchor
catch (expr: risky)
flow ~risky click a branch to expand · @labels scroll to their anchor
risky (code: -1)
flow ~lethal click a branch to expand · @labels scroll to their anchor
lethal (code: -2)

Test Configuration

EXPECT_TRAP · exit 134