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.tpc11
1 files changed, 11 insertions, 0 deletions
diff --git a/res/test_add.tpc b/res/test_add.tpc
new file mode 100644
index 0000000..01e0403
--- /dev/null
+++ b/res/test_add.tpc
@@ -0,0 +1,11 @@
1/* test-table-symboles.tpc */
2
3/* Test file for simplified translator of a declaration of variables in C */
4
5entier main(void) {
6 entier a,b,res;
7 a = 2;
8 b = 3;
9 res = a - b;
10 print(res);
11}