Some checks failed
CI / ci (MinSizeRel, ubuntu-latest) (pull_request) Successful in 35s
CI / ci (Release, ubuntu-latest) (pull_request) Successful in 32s
CI / ci (RelWithDebInfo, ubuntu-latest) (pull_request) Successful in 37s
CI / ci (Debug, ubuntu-latest) (pull_request) Successful in 2m45s
CI / ci (MinSizeRel, ubuntu-latest) (push) Successful in 35s
CI / ci (Release, ubuntu-latest) (push) Successful in 31s
CI / ci (RelWithDebInfo, ubuntu-latest) (push) Successful in 37s
CI / ci (Debug, ubuntu-latest) (push) Has been cancelled
11 lines
186 B
Plaintext
11 lines
186 B
Plaintext
[export] main = fn [cc(c)] () s32
|
|
{
|
|
>a: u32 = 1;
|
|
>b: u32 = 2;
|
|
>min = #min(a, b);
|
|
>max = #max(a, b);
|
|
if (min != a) #trap();
|
|
if (max != b) #trap();
|
|
return 0;
|
|
}
|