fpc/tests/tbs/tb0516.pp
Jonas Maebe 72c7d5b6c0 * support ranges in case-options of variant records
git-svn-id: trunk@5553 -
2006-12-07 15:19:30 +00:00

15 lines
199 B
ObjectPascal

{$mode delphi}
type
ta = (ea,eb);
tb = (e1,e2);
tr = record
case a: byte of
-1,'c'..ea,e2..-5: (l: longint);
'b'..eb,-1,-1,-1..-38,-100..e2: (c: cardinal);
end;
begin
end.