mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 22:39:36 +02:00
no message
This commit is contained in:
parent
0e176a1dd3
commit
867ab3347e
48
tests/tbs/tb0469.pp
Normal file
48
tests/tbs/tb0469.pp
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
{ %version=1.1}
|
||||||
|
{ %opt=-vw }
|
||||||
|
{$mode objfpc}
|
||||||
|
type
|
||||||
|
to1 = class
|
||||||
|
procedure p1;
|
||||||
|
procedure p2;virtual;
|
||||||
|
procedure p3;
|
||||||
|
end;
|
||||||
|
|
||||||
|
to2 = class(to1)
|
||||||
|
procedure p1;
|
||||||
|
procedure p2;virtual;reintroduce;
|
||||||
|
procedure p3;virtual;
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure to1.p1;
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
procedure to1.p2;
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
procedure to1.p3;
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
procedure to2.p1;
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
procedure to2.p2;
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
procedure to2.p3;
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
begin
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user