aboutsummaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorpacien2018-06-06 14:15:01 +0200
committerpacien2018-06-06 14:15:01 +0200
commit8a5ccc3b6e5e7a3ad064cc5cce1c4a1a9ac74aa8 (patch)
treed7ec37e84a2c9e4eaefa6a380914251eba51c26b /res
parent01406ad25ff49d5c5f722f34187d2063cefea5ed (diff)
parent7d8e0d62851ee37c284405740b56b704664cb6a9 (diff)
downloadtpc-compiler-8a5ccc3b6e5e7a3ad064cc5cce1c4a1a9ac74aa8.tar.gz
Merge branch 'master' of https://github.com/pacien/upem-compil-tpc
Diffstat (limited to 'res')
-rw-r--r--res/test_print.tpc6
-rw-r--r--res/test_read_ok.tpc3
2 files changed, 6 insertions, 3 deletions
diff --git a/res/test_print.tpc b/res/test_print.tpc
new file mode 100644
index 0000000..e75d93e
--- /dev/null
+++ b/res/test_print.tpc
@@ -0,0 +1,6 @@
1entier main(void) {
2 entier r1;
3 reade(r1);
4 print(r1);
5 return 0;
6}
diff --git a/res/test_read_ok.tpc b/res/test_read_ok.tpc
index 6ad3632..b88061f 100644
--- a/res/test_read_ok.tpc
+++ b/res/test_read_ok.tpc
@@ -1,6 +1,3 @@
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 ; 1entier r1,b,s,c,r2 ;
5caractere letter, digit, punct; 2caractere letter, digit, punct;
6 3