mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 19:08:18 +02:00
23 lines
279 B
ObjectPascal
23 lines
279 B
ObjectPascal
{$mode delphi}
|
|
program tbreintroduce;
|
|
|
|
type
|
|
parent = object
|
|
constructor init;
|
|
end;
|
|
|
|
child = object(parent)
|
|
constructor init(a : byte);reintroduce;
|
|
end;
|
|
|
|
constructor parent.init;
|
|
begin
|
|
end;
|
|
|
|
constructor child.init(a : byte);
|
|
begin
|
|
end;
|
|
|
|
begin
|
|
end.
|