005 die verdict in producing flow

✓ Passing This code compiles and runs correctly.

Code

input.k

Must contain:

worker cannot absorb bad

Flows

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

Test Configuration

EXPECT_TRAP · exit 134