12 lines
247 B
Plaintext
12 lines
247 B
Plaintext
//ww:run-exit 0
|
|
package main;
|
|
type ms0 = str;
|
|
type ms = ms0;
|
|
let G: []ms = ["aa", "bbb"];
|
|
export fn main() i32 = {
|
|
if (G.len != 2 || G.cap != 2) { return 1; };
|
|
if (len(G[0]) != 2) { return 2; };
|
|
if (len(G[1]) != 3) { return 3; };
|
|
return 0;
|
|
};
|