From 2ebd7d03e6d9ff5d8badc637ca4c6ab3c6db4e81 Mon Sep 17 00:00:00 2001 From: Adam NAILI Date: Fri, 4 May 2018 09:14:41 +0200 Subject: DIVSTAR working : 'It's working ! It's working' said Anakin --- res/test_add.tpc | 1 + res/test_mul.tpc | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 res/test_mul.tpc (limited to 'res') diff --git a/res/test_add.tpc b/res/test_add.tpc index 01e0403..2f6b9dd 100644 --- a/res/test_add.tpc +++ b/res/test_add.tpc @@ -1,6 +1,7 @@ /* test-table-symboles.tpc */ /* Test file for simplified translator of a declaration of variables in C */ +entier a; entier main(void) { entier a,b,res; diff --git a/res/test_mul.tpc b/res/test_mul.tpc new file mode 100644 index 0000000..f3b6705 --- /dev/null +++ b/res/test_mul.tpc @@ -0,0 +1,12 @@ +/* test-table-symboles.tpc */ + +/* Test file for simplified translator of a declaration of variables in C */ +entier a; + +entier main(void) { + entier a,b,res; + a = 2; + b = 3; + res = a % b; + print(res); +} -- cgit v1.2.3