mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-02 01:02:38 +02:00
21 lines
212 B
ObjectPascal
21 lines
212 B
ObjectPascal
{ %FAIL }
|
|
|
|
{ class constructors *must* be named "Create" }
|
|
|
|
program tw30729a;
|
|
|
|
{$mode objfpc}
|
|
|
|
type
|
|
TTest = class
|
|
class constructor Create2;
|
|
end;
|
|
|
|
class constructor TTest.Create2;
|
|
begin
|
|
end;
|
|
|
|
begin
|
|
|
|
end.
|