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:
10
test/wcc/data/r700_oror_rhs/case.ww
Normal file
10
test/wcc/data/r700_oror_rhs/case.ww
Normal file
@@ -0,0 +1,10 @@
|
||||
//ww:run-exit 42
|
||||
// Migrated from 700_e2e row 136.
|
||||
package main;
|
||||
type point = struct { x: i32, y: i32 };
|
||||
fn main() i32 = {
|
||||
let pt: point = point { x = 7, y = 0 };
|
||||
let p: *point = &pt;
|
||||
if (p == nil || p.x > 0) { return 42; };
|
||||
return 1;
|
||||
};
|
||||
Reference in New Issue
Block a user