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.
10 lines
179 B
Plaintext
10 lines
179 B
Plaintext
//ww:run-exit 99
|
|
package main;
|
|
fn main() i32 = {
|
|
let i: i32 = 0;
|
|
for (i < 3) { let a: i64 = 5i64; i += 1; };
|
|
let a: [128]u8 = [0u8...];
|
|
a[127] = 99u8;
|
|
return a[127]: i32;
|
|
};
|