Simple variable declarations
This commit is contained in:
parent
fdc5134d1f
commit
c1f37b6688
1186
bootstrap/main.cpp
1186
bootstrap/main.cpp
File diff suppressed because it is too large
Load Diff
9
tests/simple_variable_declaration/main.nat
Normal file
9
tests/simple_variable_declaration/main.nat
Normal file
@ -0,0 +1,9 @@
|
||||
fn[cc(.c)] main [export] () s32
|
||||
{
|
||||
>a: s32 = 2;
|
||||
>b: s32 = 2;
|
||||
{
|
||||
>c: s32 = a - b;
|
||||
return c;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user