All checks were successful
CI / ci (MinSizeRel, ubuntu-latest) (pull_request) Successful in 1m10s
CI / ci (Release, ubuntu-latest) (pull_request) Successful in 1m9s
CI / ci (RelWithDebInfo, ubuntu-latest) (pull_request) Successful in 1m13s
CI / ci (Debug, ubuntu-latest) (pull_request) Successful in 2m44s
CI / ci (MinSizeRel, ubuntu-latest) (push) Successful in 1m5s
CI / ci (RelWithDebInfo, ubuntu-latest) (push) Successful in 1m5s
CI / ci (Release, ubuntu-latest) (push) Successful in 1m4s
CI / ci (Debug, ubuntu-latest) (push) Successful in 2m37s
14 lines
234 B
Plaintext
14 lines
234 B
Plaintext
foo = fn (slices: [][]u8) void
|
|
{
|
|
if (slices.length != 3)
|
|
{
|
|
#trap();
|
|
}
|
|
}
|
|
[export] main = fn [cc(c)] () s32
|
|
{
|
|
>some_bool: u1 = 0;
|
|
foo([ "abc", #select(some_bool, "bcd", "cbd"), "sas", ][..]);
|
|
return 0;
|
|
}
|