aboutsummaryrefslogtreecommitdiff
path: root/res/test_add.tpc
diff options
context:
space:
mode:
Diffstat (limited to 'res/test_add.tpc')
-rw-r--r--res/test_add.tpc5
1 files changed, 2 insertions, 3 deletions
diff --git a/res/test_add.tpc b/res/test_add.tpc
index 2f6b9dd..848130c 100644
--- a/res/test_add.tpc
+++ b/res/test_add.tpc
@@ -1,12 +1,11 @@
1/* test-table-symboles.tpc */
2
3/* Test file for simplified translator of a declaration of variables in C */
4entier a; 1entier a;
5 2
6entier main(void) { 3entier main(void) {
7 entier a,b,res; 4 entier a,b,res;
8 a = 2; 5 a = 2;
9 b = 3; 6 b = 3;
7 res = a + b;
8 print(res);
10 res = a - b; 9 res = a - b;
11 print(res); 10 print(res);
12} 11}