mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 02:10:50 +02:00
20 lines
202 B
ObjectPascal
20 lines
202 B
ObjectPascal
{ %fail }
|
|
|
|
program fjf915a;
|
|
|
|
type
|
|
t = object
|
|
constructor Init (a: Boolean);
|
|
end;
|
|
|
|
constructor t.Init (a: Boolean);
|
|
begin
|
|
end;
|
|
|
|
var
|
|
p: ^t;
|
|
|
|
begin
|
|
New (p, Init (Init (False))) { WRONG }
|
|
end.
|