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