Every section banner dies (103 -> 0) across test/lang, the observer suites, the C carriers, and the five comment-heavy corpus fixtures; banner provenance (#N cites, carrier numbers, repair-cluster labels) folded into headers or adjacent WHY comments. Narration deleted; row provenance, ref cites, divergence pins, and layout contracts kept (fwd-ref decl-order guards and bootstrap-gate corpus rationale restored where the sweep over-cut). Comment-only proven: all 3742 wwbuild workdir .s byte-identical before/after; test-commit and test-byteid (161 lang + 1399 data, 0 pinned-divergent) green.
21 lines
836 B
Plaintext
21 lines
836 B
Plaintext
// The cs≠ww .s carve-out split from
|
|
// alias_accept_test (#5-C3, #7f/#254 value-only runonly home). A bare
|
|
// (anonymous-let) struct widened into a 2-level alias variant: the asm
|
|
// diverges on 3 pre-existing cglet zero-fill lines (cs XORQ+2 stores, ww none
|
|
// — task #81 class), runtime-correct on BOTH stages, ORTHOGONAL to the variant
|
|
// tag under test. The acceptance + correct-tag behavior stays pinned on the
|
|
// cstage run (T1); the file is *_runonly so the test-lang-byteid (T2) corpus
|
|
// excludes it. Flip back into alias_accept_test when the #81 zero-fill
|
|
// divergence closes. Migrated from test/wcc/944_alias_accept_run.c.
|
|
|
|
package alias_accept_runonly_test;
|
|
|
|
type sa = struct { a: i64, };
|
|
type sb = sa;
|
|
|
|
@test fn v2_struct2() void = {
|
|
let s: struct { a: i64, } = sa{a=7};
|
|
let v: (void | sb) = s;
|
|
assert(v is sb);
|
|
};
|