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