mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 14:29:14 +02:00
+ added
This commit is contained in:
parent
7fb6b96aed
commit
08ce8f4a0e
21
tests/webtbf/tw3738.pp
Normal file
21
tests/webtbf/tw3738.pp
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{ %fail }
|
||||||
|
|
||||||
|
program fjf775a;
|
||||||
|
|
||||||
|
type
|
||||||
|
a = object
|
||||||
|
f: Integer
|
||||||
|
end;
|
||||||
|
|
||||||
|
b = object (a)
|
||||||
|
procedure p;
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure b.p;
|
||||||
|
begin
|
||||||
|
WriteLn (inherited f) { WRONG }
|
||||||
|
end;
|
||||||
|
|
||||||
|
begin
|
||||||
|
end.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user