summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/webtbf/tw3716.pp
blob: 96d9a584698e5f99501d85c36bf40b7e37d2b1c5 (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
{ %fail }

{ Source provided for Free Pascal Bug Report 3716 }
{ Submitted by "Marc Weustink" on  2005-03-01 }
{ e-mail: marc@freepascal.org }
program protect;

{$mode objfpc}{$H+}

uses
  Classes;

type
  TMyClass = class(TObject)
  public
    procedure p;
  end;

procedure TMyClass.p;
var
  C: TCollection;
begin
  C.PropName;
end;

begin
end.