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:
14
test/wcc/data/r806ap_call_src_gp16/case.ww
Normal file
14
test/wcc/data/r806ap_call_src_gp16/case.ww
Normal file
@@ -0,0 +1,14 @@
|
||||
//ww:run-exit 0
|
||||
// Graduated #34 reject pin: size+i64 16B GP call element (was the
|
||||
// reject fixture).
|
||||
package main;
|
||||
type box = struct { pc: size, a: i64 };
|
||||
fn mk() box = { return box { pc = 1, a = 2 }; };
|
||||
export fn main() i32 = {
|
||||
let bs: []box = [];
|
||||
append(bs, mk());
|
||||
if (bs.len != 1) { return 1; };
|
||||
if (bs[0].pc != 1) { return 2; };
|
||||
if (bs[0].a != 2i64) { return 3; };
|
||||
return 0;
|
||||
};
|
||||
Reference in New Issue
Block a user