From c54b32a91427e5342ce5ffa94b2398a2fcb8c144 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Fri, 12 Jun 2020 12:06:27 +0100 Subject: Add function call test --- test/function.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/function.c (limited to 'test/function.c') 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); +} -- cgit