summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/webtbs/tw7173.pp
blob: c33e55e3d7cfac087ad1f49f4cc7811d97813286 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ %norun }
{ %fail }

{$mode delphi}
unit tw7173;

interface

uses
  SysUtils;

function GetVal(astr : string) : Integer;


implementation

function GetVal(const astr : string) : Integer;
begin
  Result := StrToInt(astr);
end;


end.