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

module bool_conditions;

var
	i : integer;
	b : boolean;

begin
	i := 1;
	b := i;
end