aboutsummaryrefslogtreecommitdiff
path: root/res/test_add.tpc
diff options
context:
space:
mode:
authorpacien2018-06-06 14:14:55 +0200
committerpacien2018-06-06 14:14:55 +0200
commit01406ad25ff49d5c5f722f34187d2063cefea5ed (patch)
tree4d96a701aa1986abe79f2469ffd641c4123749bb /res/test_add.tpc
parent64d73526bf9d39ad9d3f04509f6656abde2240fd (diff)
downloadtpc-compiler-01406ad25ff49d5c5f722f34187d2063cefea5ed.tar.gz
require main func and rename tests
Diffstat (limited to 'res/test_add.tpc')
-rw-r--r--res/test_add.tpc11
1 files changed, 0 insertions, 11 deletions
diff --git a/res/test_add.tpc b/res/test_add.tpc
deleted file mode 100644
index 848130c..0000000
--- a/res/test_add.tpc
+++ /dev/null
@@ -1,11 +0,0 @@
1entier a;
2
3entier main(void) {
4 entier a,b,res;
5 a = 2;
6 b = 3;
7 res = a + b;
8 print(res);
9 res = a - b;
10 print(res);
11}