aboutsummaryrefslogtreecommitdiffstats
path: root/test/function.c
diff options
context:
space:
mode:
authorJames Pollard <james@pollard.dev>2020-06-12 17:48:51 +0100
committerJames Pollard <james@pollard.dev>2020-06-12 17:48:51 +0100
commitf7795011ea9ac0d34ee565d3832f15b649bf1827 (patch)
treefd731b58626c8665032afd62068ece8cedc76eb0 /test/function.c
parent9acb804500b590edbff66cd802216f58dde169cd (diff)
parent86f42b92d87020875e2a7ef4ba40de12d261685f (diff)
downloadvericert-kvx-f7795011ea9ac0d34ee565d3832f15b649bf1827.tar.gz
vericert-kvx-f7795011ea9ac0d34ee565d3832f15b649bf1827.zip
Merge branch 'master' into arrays-proof
Diffstat (limited to 'test/function.c')
-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);
+}