fpc/tests/webtbs/tw24458.pp
2013-09-17 14:20:23 +00:00

21 lines
250 B
ObjectPascal

{ %NORUN }
program tw24458;
{$mode delphi}
type
TA<T: class> = class
public
procedure Foo(const AValue: T);
end;
procedure TA<T>.Foo(const AValue: T);
begin
AValue.Free; // Error: identifier idents no member "Free"
end;
begin
end.