fpc/tests/webtbs/tw4705.pp
florian 48802b0866 + variants can be used as case expression
git-svn-id: trunk@3530 -
2006-05-14 18:29:49 +00:00

22 lines
290 B
ObjectPascal

{ Source provided for Free Pascal Bug Report 4705 }
{ Submitted by "Phil H." on 2006-01-17 }
{ e-mail: pjhess@purdue.edu }
program TestVarCase;
uses
SysUtils,
Variants;
var
AVar : Variant;
e : (e1,e2);
begin
AVar := 1;
case AVar of
1 : halt(0);
end;
halt(1);
end.