test/wcc/data: grow the declarative compiler corpus to 1,224 fixtures

The r-prefixed waves absorb the runtime, reject, and byte-compare rows
of the migrated native carriers; each fixture is one directory with one
case.ww and a //ww:error, //ww:compile, //ww:run, or //ww:run-exit
directive covering both frontends.
This commit is contained in:
2026-08-07 23:02:09 +09:00
parent 350bcd8913
commit d456263f7e
1119 changed files with 9847 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
//ww:run-exit 42
package main;
fn ss(a: i64, b: i64, c: i64, d: i64, e: i64, f: i64, xs: []i64) i64 = { let i: i32 = 0; let acc: i64 = a + b + c + d + e + f; for (i < xs.len: i32) { acc = acc + xs[i]; i = i + 1; }; return acc; };
fn main() i32 = { let buf: [3]i64; buf[0] = 100i64; buf[1] = 200i64; buf[2] = 300i64; let s: []i64 = buf[0:3]; let r: i64 = ss(1i64, 2i64, 3i64, 4i64, 5i64, 6i64, s); if (r == 621i64) { return 42; }; return 0; };