test: migrate Fam13 misc checker/coercion value tests to @test (#5-C6)
Final fold-2 chunk. The 12 Fam13 single-file value drivers move from test/wcc/*_run.c into in-language @test row-tables under test/lang/: - value rows -> test/lang/*_test.ww (12 files) - reject rows -> runww //ww:error carriers (13, dual-stage non-vacuous) - nullable abort rows -> runww //ww:run-exit 1 carriers (3) - 953_globalslice_arg -> _runonly (cs!=ww checker divergence, #28) - 788 value_not_type_neg + 953_arrlit_slice reject_assign kept as slim rc-only .c pins (divergent-diag dual-reject, mutation-gated); 788 #29 Coverage parity verified row-by-row vs each retired driver; advisor- ratified carve taxonomy; two-round reviewed. Floor ratchet follows.
This commit is contained in:
12
test/wcc/data/nullable_asrt_void_target_fail/case.ww
Normal file
12
test/wcc/data/nullable_asrt_void_target_fail/case.ww
Normal file
@@ -0,0 +1,12 @@
|
||||
//ww:run-exit 1
|
||||
// #17 (F4) carrier: a valid ptr `as void` must ABORT (exit 1) — the void
|
||||
// polarity of the type-assert. Clean twin asrt_void_target_ok carries the
|
||||
// abort-arm byte-id; this pins the runtime abort fires. From
|
||||
// 949_nullable_assert_run.c (drew: rt::abort is a real Hare guarantee).
|
||||
package main;
|
||||
export fn main() i32 = {
|
||||
let x: int = 5;
|
||||
let p: (*int|void) = &x;
|
||||
let z = p as void;
|
||||
return 7;
|
||||
};
|
||||
Reference in New Issue
Block a user