Files
ww/test/wcc/data/tslot_t57_loud_remap/case.ww
Hojun-Cho 07b3c74ab0 test: migrate Fam8 tuple value tests to @test + reject carriers (#5-C2)
fold-2 chunk C2 (drew's Fam8-13 plan): 14 tuple value-row C drivers migrate to
15 test/lang/*_test.ww @test row-tables (the +1 is 954_tuprecv, slimmed not
deleted -- its value rows split out while the asserttyped-stamp dimension stays
as a carrier-split C pin, mutation-proven non-vacuous). Reject rows move to 32
test/wcc/data/*/case.ww //ww:error carriers (runww asserts the substring in
BOTH stages). The test-lang byte-id (LANGBYTEID) gate gives cs==ww automatically
and is strictly more sensitive than re-running the wwstage leg; floor 59->74.
Tuple surfaced zero cs!=ww as the plan predicted -- no value-only carve. The 945
trio folds in here; 940_global_sret / 940_str_forrange / 926_tagscr untouched
(routed to drew per-file). Test count 402->388 = the 14 retired drivers.
2026-06-24 01:44:13 +09:00

15 lines
333 B
Plaintext

//ww:error "widening into a wider declared union slot needs a tag remap"
package main;
type st16 = struct { a: size, b: size };
type small = (void | u8);
type big = (void | u8 | st16);
fn mk() (big, size) = {
let s: small = 5u8;
return (s, 9);
};
export fn main() i32 = {
let t = mk();
if (t.1 != 9) { return 1; };
return 0;
};