diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/test_if.tpc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/res/test_if.tpc b/res/test_if.tpc index 04f7505..adb097a 100644 --- a/res/test_if.tpc +++ b/res/test_if.tpc | |||
@@ -3,11 +3,10 @@ | |||
3 | /* Test file for simplified translator of a declaration of variables in C */ | 3 | /* Test file for simplified translator of a declaration of variables in C */ |
4 | 4 | ||
5 | entier main(void) { | 5 | entier main(void) { |
6 | entier bool; | 6 | entier bool1,bool2; |
7 | bool = 1; | 7 | bool1 = 0; |
8 | if(bool){ | 8 | bool2 = 0; |
9 | if(bool){ | 9 | if(bool1 == bool2){ |
10 | print (bool); | 10 | print(0); |
11 | } | ||
12 | } | 11 | } |
13 | } | 12 | } |