mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 16:47:53 +02:00
18 lines
263 B
ObjectPascal
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.
|