From 0385817bb1301a778bb33f8405a435293b9f8905 Mon Sep 17 00:00:00 2001 From: David Moc Date: Thu, 5 Mar 2026 23:38:49 +0100 Subject: Pushing to repo for safety. --- tests/function_call.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/function_call.c (limited to 'tests/function_call.c') diff --git a/tests/function_call.c b/tests/function_call.c new file mode 100644 index 0000000..1af6ef8 --- /dev/null +++ b/tests/function_call.c @@ -0,0 +1,14 @@ +int add(int a, int b) { + return a + b; +} + +int multiply(int x, int y) { + return x * y; +} + +int main() { + int result1 = add(3, 4); + int result2 = multiply(2, 5); + int result3 = add(result1, result2); + return result3; +} -- cgit v1.2.3