summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/webtbs/uw3340.pp
blob: f9ed56159eab5d383ca10b374aebc6c900f46da1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
unit uw3340;
interface
{$MODE DELPHI}
{$INLINE ON}

type
  TTT = class
  public
    zz: Integer;
  public
    function Yes: Integer; inline;
  end;

implementation

procedure LocK; inline;
begin WriteLn('asdfasdf'); end;

function TTT.Yes: Integer;
begin
  Lock;
  Result:= zz;
end;

end.