summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/webtbs/tw6641.pp
blob: 92f4cef5e236bafc35068f1e8fd4a977ea1e357c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{$ifdef fpc}
{$mode delphi}
{$else}
{$apptype console}
{$endif}

Uses Sysutils,variants;

var v : variant;
   s : string;

begin
  v := 1;
  s:=inttostr(v);
  if (s <> '1') then
    halt(1);
end.