aboutsummaryrefslogtreecommitdiff
path: root/res/test_if_ok.tpc
blob: 054811b27220b485b740206660220a1cc3d16897 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* test-table-symboles.tpc */

/* Test file for simplified translator of a declaration of variables in C */

entier main(void)  {
	entier bool1, bool2;
	bool1 = 0;
	bool2 = 0;
	if(bool1 == bool2){
		if(bool1 != bool2){
			print('n');
		}
		else{
			if(bool1 <= bool2){
				print('o');
				return 0;
			}
			print('n');
		}
	}
	return 0;
}