summaryrefslogtreecommitdiff
path: root/tests/webtbf/tw8150c.pp
blob: 065dc389e036ad4d712a80e85a2997b5fd29042b (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
26
27
28
29
{ %fail }
{ %norun }

{$ifdef fpc}
{$mode delphi}
{$endif}

type
  tc = class
    class procedure classmethod;
    procedure method;
    a : longint;
  end;

  ttc = class of tc;

class procedure tc.classmethod;
begin
  a:= 5;
end;

procedure tc.method;
begin
end;

var
  c: ttc;
begin
end.