// #6 fixture: a @test body is type-checked in a non-test build even // though the fn is then spliced out. harec checks the body // (ref/harec/src/check.c:3913) BEFORE the append_decl skip (:3941), so // the splice is check-THEN-drop, never drop-then-skip-check. Pins that // placement decision: an undefined symbol in the @test body must be // caught LOUDLY in non-T (a pre-pass splice would silence it). Compiled // WITHOUT -T (910/997 plain-reject row). package data; fn keep() i32 = { return 1; }; @test fn undefbody_test() void = { undefined_symbol_xyz(); };