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.
7 lines
167 B
Plaintext
7 lines
167 B
Plaintext
//ww:run-exit 5
|
|
package main;
|
|
export fn main() i32 = {
|
|
let hb: [8]u8; let a: []u8; a.ptr = &hb[0]; a.len = 3; a.cap = 8;
|
|
let t: ([]u8, i32) = (a, 5); return t.1;
|
|
};
|