mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 10:49:07 +02:00
+ added
This commit is contained in:
parent
86765dcf57
commit
e1205ad4e4
20
tests/webtbf/tw3740.pp
Normal file
20
tests/webtbf/tw3740.pp
Normal file
@ -0,0 +1,20 @@
|
||||
{ %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.
|
||||
|
Loading…
Reference in New Issue
Block a user