aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/test/in/function_call.c
diff options
context:
space:
mode:
Diffstat (limited to 'c_compiler/test/in/function_call.c')
-rw-r--r--c_compiler/test/in/function_call.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/c_compiler/test/in/function_call.c b/c_compiler/test/in/function_call.c
new file mode 100644
index 0000000..8defdaf
--- /dev/null
+++ b/c_compiler/test/in/function_call.c
@@ -0,0 +1,9 @@
+int f(int a, int b, int c, int d, int f)
+{
+ return a + b + c + d + f;
+}
+
+int main()
+{
+ return f(1, 2, 3, 4, 5);
+}