mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 21:07:58 +02:00
29 lines
295 B
ObjectPascal
29 lines
295 B
ObjectPascal
unit uw22427b;
|
|
|
|
{$MODE DELPHI}
|
|
|
|
interface
|
|
|
|
type
|
|
TWrapper<T> = record
|
|
class procedure Test; static;
|
|
end;
|
|
|
|
implementation
|
|
|
|
uses uw22427a;
|
|
|
|
{$PUSH}{$MACRO ON}
|
|
{$DEFINE TWrapper__Test :=
|
|
begin
|
|
Writeln(SMessage);
|
|
end
|
|
}
|
|
|
|
class procedure TWrapper<T>.Test;
|
|
TWrapper__Test;
|
|
|
|
{$POP}
|
|
|
|
end.
|