diff options
Diffstat (limited to 'res/test_read.tpc')
-rw-r--r-- | res/test_read.tpc | 15 |
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 */ | ||
4 | entier r1,b,s,c,r2 ; | ||
5 | caractere letter, digit, punct; | ||
6 | |||
7 | void calcul(void) { | ||
8 | caractere r1; | ||
9 | readc(r1); | ||
10 | print(r1); | ||
11 | } | ||
12 | |||
13 | entier main(void) { | ||
14 | calcul(); | ||
15 | } | ||