diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/test_if.tpc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/res/test_if.tpc b/res/test_if.tpc new file mode 100644 index 0000000..04f7505 --- /dev/null +++ b/res/test_if.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 | |||
5 | entier main(void) { | ||
6 | entier bool; | ||
7 | bool = 1; | ||
8 | if(bool){ | ||
9 | if(bool){ | ||
10 | print (bool); | ||
11 | } | ||
12 | } | ||
13 | } | ||