test: migrate 700_e2e rows to corpus fixtures; retire the carrier

136 rows migrated, 0 already owned, 3 wwstage-failing rows held out.
This commit is contained in:
2026-08-08 14:02:17 +09:00
parent ddb44405ea
commit 956246b3f0
141 changed files with 1850 additions and 1894 deletions

View File

@@ -0,0 +1,14 @@
//ww:run-exit 159
// Migrated from 700_e2e row 24.
package main;
fn classify(x: i32) i32 = {
switch (x) {
case 1, 2, 3: return 10;
case 10: return 99;
case: return 50;
};
return -1;
};
fn main() i32 = {
return classify(2) + classify(10) + classify(99);
};