Fix syntax errors in compiler and clean up debug output
This commit is contained in:
parent
35a4fb7fef
commit
80caf6412c
19 changed files with 243 additions and 0 deletions
11
tests/test-function-call.c
Normal file
11
tests/test-function-call.c
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
// test-function-call.c
|
||||
int add(int a, int b)
|
||||
{
|
||||
return a + b;
|
||||
}
|
||||
|
||||
int main(int argc, int argv)
|
||||
{
|
||||
int result = add(5, 3);
|
||||
return result;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue