This commit is contained in:
David Gonzalez Martin 2025-04-21 19:59:02 -06:00
parent 2be7142608
commit 655c1e46b4
2 changed files with 366 additions and 236 deletions

File diff suppressed because it is too large Load Diff

9
tests/basic_macro.bbb Normal file
View File

@ -0,0 +1,9 @@
add = macro (a: u32, b: u32) u32
{
return a + b;
}
[export] main = fn [cc(c)] () s32
{
return add(1, 2);
}