diff options
Diffstat (limited to 'res/test_add_ok.tpc')
-rw-r--r-- | res/test_add_ok.tpc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/res/test_add_ok.tpc b/res/test_add_ok.tpc new file mode 100644 index 0000000..848130c --- /dev/null +++ b/res/test_add_ok.tpc | |||
@@ -0,0 +1,11 @@ | |||
1 | entier a; | ||
2 | |||
3 | entier main(void) { | ||
4 | entier a,b,res; | ||
5 | a = 2; | ||
6 | b = 3; | ||
7 | res = a + b; | ||
8 | print(res); | ||
9 | res = a - b; | ||
10 | print(res); | ||
11 | } | ||