summaryrefslogtreecommitdiff
path: root/ecomp-c/tests/type_check_comparision.e
blob: ceaa9ef9b1712759da5a8b1e4dad05860bdd8791 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * make sure assignment from illegal types throws an error
 */

module bool_conditions;

var
	i : integer;
	b : boolean;

begin
	i := 1;
	b := false;
	if i = 2 and false do
	end;
end