aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/function.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/function.c b/test/function.c
new file mode 100644
index 0000000..0ac0fcd
--- /dev/null
+++ b/test/function.c
@@ -0,0 +1,10 @@
+int f(int a, int b) {
+ return a * b;
+}
+
+int main() {
+ int x, y;
+ x = 5;
+ y = 18;
+ return f(x, y);
+}