diff options
author | Yann Herklotz <git@yannherklotz.com> | 2020-06-12 12:06:27 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2020-06-12 12:06:27 +0100 |
commit | c54b32a91427e5342ce5ffa94b2398a2fcb8c144 (patch) | |
tree | 9e8638d827cf5080f8800ce2eedafb90e56181fb /test/function.c | |
parent | 3e1add3e13c85b30afa0a32c036dc26f7ab2fafa (diff) | |
download | vericert-kvx-c54b32a91427e5342ce5ffa94b2398a2fcb8c144.tar.gz vericert-kvx-c54b32a91427e5342ce5ffa94b2398a2fcb8c144.zip |
Add function call test
Diffstat (limited to 'test/function.c')
-rw-r--r-- | test/function.c | 10 |
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); +} |