aboutsummaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorpacien2018-06-05 23:05:46 +0200
committerpacien2018-06-05 23:05:46 +0200
commit12c6e05e4c341e3db89e4551299b3f10e7623542 (patch)
tree73051e24d0c4e0ca8ee47b56cb83453177bedbb8 /res
parent9a661bc8e79398cb842a64fcd3169c3895d48a54 (diff)
parenta037a641ca537f012865b2655917207af683ea1f (diff)
downloadtpc-compiler-12c6e05e4c341e3db89e4551299b3f10e7623542.tar.gz
Merge branch 'master' of https://github.com/pacien/upem-compil-tpc
Diffstat (limited to 'res')
-rw-r--r--res/test_while.tpc13
1 files changed, 13 insertions, 0 deletions
diff --git a/res/test_while.tpc b/res/test_while.tpc
new file mode 100644
index 0000000..25d04c6
--- /dev/null
+++ b/res/test_while.tpc
@@ -0,0 +1,13 @@
1/* test-table-symboles.tpc */
2
3/* Test file for simplified translator of a declaration of variables in C */
4
5entier main(void) {
6 entier i;
7 i = 0;
8 while(i<=5){
9 print(i);
10 i = i + 1;
11 }
12 return 0;
13}