fpc/tests/webtbs/tw28372.pp
2015-07-03 20:04:25 +00:00

29 lines
394 B
ObjectPascal

var
s: string;
res: boolean;
begin
res:=false;
s:='Tes 1';
case s of
'Tes 1','Tes 2','Tes 3': res:=true;
end;
if not res then
halt(1);
res:=false;
s:='Tes 2';
case s of
'Tes 1','Tes 2','Tes 3': res:=true;
end;
if not res then
halt(2);
res:=false;
s:='Tes 3';
case s of
'Tes 1','Tes 2','Tes 3': res:=true;
end;
if not res then
halt(3);
end.