From c9c4fbbde6e4f4f3942777cd9930cf40375e0ea9 Mon Sep 17 00:00:00 2001 From: Adam NAILI Date: Fri, 4 May 2018 01:03:21 +0200 Subject: Add sub working (local/global not fully implemented, checking type function available --- res/test_add.tpc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 res/test_add.tpc (limited to 'res/test_add.tpc') 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 @@ +/* test-table-symboles.tpc */ + +/* Test file for simplified translator of a declaration of variables in C */ + +entier main(void) { + entier a,b,res; + a = 2; + b = 3; + res = a - b; + print(res); +} -- cgit v1.2.3