Audit-driven migrate-and-retire wave (one read-only auditor per carrier batch, verdicts row-checked through the full corpus gate): every retired carrier's assertions are now owned by declarative fixtures or an existing owner. 238 new fixtures land (corpus 1,239 -> 1,477; cells 2,954), covering enum/str/slice/tagged array elements, inferred-length arrays, global slice/str zero-init and literals, global array/pointer field reads and stores, struct-literal slice fields, struct returns, float arithmetic, size/int limits, sort and log-vstream behavior, place-addressed stores, and append places. Rejection rows STRENGTHEN the old nonzero-exit checks to required diagnostic fragments; all byte-id claims fold into the blanket test-data-byteid sweep (now 1,142 compared, 0 pinned-divergent). Four carriers were fully redundant with existing fixtures/lang tests (749, 722, 765, and 771's byteid rows) and retire without new rows. Native carriers 171 -> 147 (residual 135 -> 111).
35 lines
952 B
Plaintext
35 lines
952 B
Plaintext
//ww:run-exit 65
|
|
package main;
|
|
type wide = struct { b: u8, w: i16, d: u32, q: i64, f: f64,
|
|
s: str, xs: []size, m: [2]u32 };
|
|
type wlist = []wide;
|
|
fn mkw(k: i64) wide = {
|
|
let xs: []size = [];
|
|
let x0: size = (10 + k): size;
|
|
let x1: size = (20 + k): size;
|
|
append(xs, x0);
|
|
append(xs, x1);
|
|
let m0: u32 = (40 + k): u32;
|
|
let m1: u32 = (50 + k): u32;
|
|
return wide { b = (k + 1): u8, w = (0 - k): i16,
|
|
d = (100 + k): u32, q = k, f = 2.5f64, s = "ab",
|
|
xs = xs, m = [m0, m1] };
|
|
};
|
|
export fn main() i32 = {
|
|
let l0: []wide = [];
|
|
let w1: wide = mkw(1);
|
|
let w2: wide = mkw(2);
|
|
append(l0, w1);
|
|
append(l0, w2);
|
|
let l: wlist = l0;
|
|
if (l[0].b != 2u8) { return 1; };
|
|
if (l[0].w != -1i16) { return 2; };
|
|
if (l[1].d != 102u32) { return 3; };
|
|
if (l[1].q != 2i64) { return 4; };
|
|
if (l[0].f != 2.5f64) { return 5; };
|
|
if (l[0].s.len != 2) { return 6; };
|
|
if (l[1].xs[1] != (22: size)) { return 7; };
|
|
if (l[0].m[1] != 51u32) { return 8; };
|
|
return 65;
|
|
};
|