wip
This commit is contained in:
parent
2be7142608
commit
2094388e04
File diff suppressed because it is too large
Load Diff
11
tests/basic_macro.bbb
Normal file
11
tests/basic_macro.bbb
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
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;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user