All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (pull_request) Successful in 2m35s
CI / ci (ReleaseSmall, ubuntu-latest) (pull_request) Successful in 2m33s
CI / ci (ReleaseSafe, ubuntu-latest) (pull_request) Successful in 2m43s
CI / ci (Debug, ubuntu-latest) (pull_request) Successful in 4m5s
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 2m30s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 2m27s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 2m35s
CI / ci (Debug, ubuntu-latest) (push) Successful in 3m53s
12 lines
152 B
Plaintext
12 lines
152 B
Plaintext
sub = macro (a: s32, b: s32) s32
|
|
{
|
|
return a - b;
|
|
}
|
|
|
|
[export] main = fn [cc(c)] () s32
|
|
{
|
|
>a = sub(1, 1);
|
|
>b = sub(2, 2);
|
|
return a + b;
|
|
}
|