fpc/tests/webtbf/tw9522b.pp
Jonas Maebe 1ee8207ffa * fixed mantis #9522: no longer allow typecasting ordinal constants
to complex types (caused a lot of internal errors later on, and
    was also Delphi-incompatible)

git-svn-id: trunk@8369 -
2007-09-03 15:55:26 +00:00

8 lines
76 B
ObjectPascal

{ %fail }
type ts = set of 0..7;
begin
writeln(1 in ts(65));
end.