mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 14:48:18 +02:00
28 lines
275 B
ObjectPascal
28 lines
275 B
ObjectPascal
program project1;
|
|
|
|
{$mode delphi}
|
|
|
|
type
|
|
TTest = class
|
|
public
|
|
destructor Destroy; override;
|
|
class destructor Destroy;
|
|
end;
|
|
|
|
{ TTest }
|
|
|
|
|
|
class destructor TTest.Destroy;
|
|
begin
|
|
exitcode:=0;
|
|
end;
|
|
|
|
destructor TTest.Destroy;
|
|
begin
|
|
|
|
end;
|
|
|
|
begin
|
|
halt(1);
|
|
end.
|