summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/webtbs/tw3457.pp
blob: 3d8e6d0e0865d92d32eb4bd4ee70790de6e27cd2 (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
{ Source provided for Free Pascal Bug Report 3457 }
{ Submitted by "Ales Katona (Almindor)" on  2004-12-19 }
{ e-mail: ales@chello.sk }

{$mode objfpc}
{$inline on}

type TTest = class
      private
       procedure testit; inline;
      public // error is reported here
       constructor Create;
     end;

       procedure TTest.testit; inline;
       begin
       end;

       constructor TTest.Create;
       begin
       end;

begin
end.