aboutsummaryrefslogtreecommitdiff
path: root/res/test_read.tpc
diff options
context:
space:
mode:
Diffstat (limited to 'res/test_read.tpc')
-rw-r--r--res/test_read.tpc15
1 files changed, 15 insertions, 0 deletions
diff --git a/res/test_read.tpc b/res/test_read.tpc
new file mode 100644
index 0000000..a201223
--- /dev/null
+++ b/res/test_read.tpc
@@ -0,0 +1,15 @@
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
7void calcul(void) {
8 caractere r1;
9 readc(r1);
10 print(r1);
11}
12
13entier main(void) {
14 calcul();
15}