aboutsummaryrefslogtreecommitdiff
path: root/res/test_return.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_return.tpc
parent64d73526bf9d39ad9d3f04509f6656abde2240fd (diff)
downloadtpc-compiler-01406ad25ff49d5c5f722f34187d2063cefea5ed.tar.gz
require main func and rename tests
Diffstat (limited to 'res/test_return.tpc')
-rw-r--r--res/test_return.tpc14
1 files changed, 0 insertions, 14 deletions
diff --git a/res/test_return.tpc b/res/test_return.tpc
deleted file mode 100644
index f450203..0000000
--- a/res/test_return.tpc
+++ /dev/null
@@ -1,14 +0,0 @@
1/* test-table-symboles.tpc */
2
3/* Test file for simplified translator of a declaration of variables in C */
4entier r1,b,s,c,r2 ;
5caractere letter, digit, punct;
6
7caractere test(void){
8}
9
10entier main(void) {
11 letter = test();
12 print(letter);
13 return 0;
14}