aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/functions.c
AgeCommit message (Collapse)Author
2026-05-02fix: stack offset calculation of local variables of functions having many ↵nsfisis
parameters `calc_lvar_stack_offset()` previously only checked the offset of the last local variables, but it might be a passed-by-stack parameter, which had a negative stack offset. With this change, `calc_lvar_stack_offset()` finds the maximum *positive* offset from local variables.
2026-02-15refactor: write more tests in Cnsfisis
2026-02-07feat: support function calls via function pointersnsfisis
The two-pass parsing of function pointer declaration is referenced from chibicc: https://github.com/rui314/chibicc
2026-02-07refactor: add ASSERT_EQ_STR() to tests/helpers.hnsfisis
2026-01-24refactor: organize test filesnsfisis