diff options
Diffstat (limited to 'res/test_mul.tpc')
-rw-r--r-- | res/test_mul.tpc | 12 |
1 files changed, 12 insertions, 0 deletions
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 @@ | |||
1 | /* test-table-symboles.tpc */ | ||
2 | |||
3 | /* Test file for simplified translator of a declaration of variables in C */ | ||
4 | entier a; | ||
5 | |||
6 | entier main(void) { | ||
7 | entier a,b,res; | ||
8 | a = 2; | ||
9 | b = 3; | ||
10 | res = a % b; | ||
11 | print(res); | ||
12 | } | ||