aboutsummaryrefslogtreecommitdiff
path: root/res/test_parameters_ok.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_parameters_ok.tpc
parent64d73526bf9d39ad9d3f04509f6656abde2240fd (diff)
downloadtpc-compiler-01406ad25ff49d5c5f722f34187d2063cefea5ed.tar.gz
require main func and rename tests
Diffstat (limited to 'res/test_parameters_ok.tpc')
-rw-r--r--res/test_parameters_ok.tpc18
1 files changed, 18 insertions, 0 deletions
diff --git a/res/test_parameters_ok.tpc b/res/test_parameters_ok.tpc
new file mode 100644
index 0000000..479fb60
--- /dev/null
+++ b/res/test_parameters_ok.tpc
@@ -0,0 +1,18 @@
1/* test-table-symboles.tpc */
2
3/* Test file for simplified translator of a declaration of variables in C */
4
5void test2(caractere x,caractere y,caractere z){
6 print(x);
7 print(y);
8 print(z);
9}
10
11void test(void){
12 test2('a','b','c');
13}
14
15entier main(void) {
16 test();
17 return 0;
18}