summary refs log tree commit diff stats
path: root/tinyc/tests/tests2/07_function.c
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-04-03 00:10:45 -0700
committerGitHub <noreply@github.com>2020-04-03 09:10:45 +0200
commit93cd98dd143d45a31a7fd90ad8f0b3d3c4c7798f (patch)
treeed8311a247e5957c54a3fed8de5101c6c56e6cf6 /tinyc/tests/tests2/07_function.c
parent6b9ffc7fadcdaeccd971230733607761863946f0 (diff)
downloadNim-93cd98dd143d45a31a7fd90ad8f0b3d3c4c7798f.tar.gz
move tinyc to a separate repo and allow installing external dependencency (eg tinyc) from koch / library code (#13850)
* remove tinyc
* installDeps
* update tinyc paths
Diffstat (limited to 'tinyc/tests/tests2/07_function.c')
-rw-r--r--tinyc/tests/tests2/07_function.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/tinyc/tests/tests2/07_function.c b/tinyc/tests/tests2/07_function.c
deleted file mode 100644
index 0477ce14e..000000000
--- a/tinyc/tests/tests2/07_function.c
+++ /dev/null
@@ -1,30 +0,0 @@
-#include <stdio.h>
-
-int myfunc(int x)
-{
-   return x * x;
-}
-
-void vfunc(int a)
-{
-   printf("a=%d\n", a);
-}
-
-void qfunc()
-{
-   printf("qfunc()\n");
-}
-
-int main()
-{
-   printf("%d\n", myfunc(3));
-   printf("%d\n", myfunc(4));
-
-   vfunc(1234);
-
-   qfunc();
-
-   return 0;
-}
-
-// vim: set expandtab ts=4 sw=3 sts=3 tw=80 :