test/lang: absorb retired-carrier coverage
local_zeroinit_test.ww takes the 840/944 zero-init seam (dirty-frame prime and probe share one @test because the runtime forks per test); alias_cgen_b6, alloc_nested_field, array_static_init, and strarray_static gain the rows their retired wrappers held; the remaining files re-point reject-row citations at the r788_* and stage-matrix fixtures.
This commit is contained in:
@@ -169,12 +169,16 @@ type c3es_my32b = c3es_my32;
|
||||
};
|
||||
|
||||
type c3kw_my32 = u32;
|
||||
type c3kw_S = struct { arr: [3]c3kw_my32, n: int };
|
||||
type c3kw_my32b = c3kw_my32;
|
||||
type c3kw_S = struct { arr: [3]c3kw_my32b, tail: int };
|
||||
|
||||
@test fn kw1_101() void = {
|
||||
let s = c3kw_S { arr = [10u32, 20u32, 30u32], n = 4 };
|
||||
assert(s.arr[0] + s.arr[1] + s.arr[2] == 60u32);
|
||||
assert(s.n == 4);
|
||||
let s = c3kw_S { arr = [10u32, 20u32, 30u32], tail = 77 };
|
||||
assert(size(c3kw_my32b) == 4);
|
||||
assert(s.arr[0] == 10u32);
|
||||
assert(s.arr[1] == 20u32);
|
||||
assert(s.arr[2] == 30u32);
|
||||
assert(s.tail == 77);
|
||||
};
|
||||
|
||||
type c3kc_my16 = u16;
|
||||
|
||||
Reference in New Issue
Block a user