summaryrefslogtreecommitdiff
path: root/ecomp-c/tests/variable_name_as_type.e
blob: ef59201a2d82c3273c09667d90da8191783c31cc (plain)
1
2
3
4
5
6
7
8
9
10
module variable_name_as_type;

var
	a : integer;
	// type as variable, must fail
	b : a;
	
begin
	a := 1;
end