fpc/tests/webtbs/tw18567.pp

18 lines
263 B
ObjectPascal

program tw18567;
{$mode delphi}
type
TSomeRecord <TData> = record
data: TData;
class operator Explicit(a: TData) : TSomeRecord <TData>;
end;
class operator TSomeRecord <TData>.Explicit (a: TData): TSomeRecord <TData>;
begin
end;
begin
end.