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
222 B
Plaintext
10 lines
222 B
Plaintext
//ww:error c "not assignable" ww "array literal has 3 elements but declared array holds 2"
|
|
package main;
|
|
|
|
type s = struct { f: [2][2]int };
|
|
|
|
export fn main() i32 = {
|
|
let v: s = s{ f = [[1, 2, 3], [4, 5]] };
|
|
return 0;
|
|
};
|