fpc/tests/webtbs/tw4496.pp
2005-12-20 08:11:59 +00:00

11 lines
172 B
ObjectPascal

type
//BoolDeriv = Boolean; //gives no internal error
BoolDeriv = false..true;
var
a: array[BoolDeriv] of char;
begin
a[true] := 'a'; //ierror 99080501 here
end.