mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 01:30:28 +02:00
24 lines
238 B
ObjectPascal
24 lines
238 B
ObjectPascal
{ %fail }
|
|
|
|
{$mode delphi}
|
|
program test;
|
|
|
|
type
|
|
TFoo = class(TObject)
|
|
constructor Create(Foo: Pointer);
|
|
end;
|
|
|
|
constructor TFoo.Create(Foo: Pointer);
|
|
begin
|
|
end;
|
|
|
|
procedure shiny;
|
|
var
|
|
p: pointer;
|
|
M: TFoo.Create;
|
|
begin
|
|
end;
|
|
|
|
end.
|
|
|