diff options
Diffstat (limited to 'res/test_read_ok.tpc')
-rw-r--r-- | res/test_read_ok.tpc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/res/test_read_ok.tpc b/res/test_read_ok.tpc new file mode 100644 index 0000000..6ad3632 --- /dev/null +++ b/res/test_read_ok.tpc | |||
@@ -0,0 +1,13 @@ | |||
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 | |||
8 | entier main(void) { | ||
9 | caractere r1; | ||
10 | readc(r1); | ||
11 | print(r1); | ||
12 | return 0; | ||
13 | } | ||