aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-06-12 12:06:27 +0100
committerYann Herklotz <git@yannherklotz.com>2020-06-12 12:06:27 +0100
commitc54b32a91427e5342ce5ffa94b2398a2fcb8c144 (patch)
tree9e8638d827cf5080f8800ce2eedafb90e56181fb /test
parent3e1add3e13c85b30afa0a32c036dc26f7ab2fafa (diff)
downloadvericert-c54b32a91427e5342ce5ffa94b2398a2fcb8c144.tar.gz
vericert-c54b32a91427e5342ce5ffa94b2398a2fcb8c144.zip
Add function call test
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);
+}