mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 12:26:58 +02:00
no message
This commit is contained in:
parent
032023f8de
commit
1b99b47d7c
23
tests/tbs/tb0374.pp
Normal file
23
tests/tbs/tb0374.pp
Normal file
@ -0,0 +1,23 @@
|
||||
{ %VERSION=1.1 }
|
||||
{$mode delphi}
|
||||
type
|
||||
tc1 = class
|
||||
procedure a;overload;virtual;
|
||||
end;
|
||||
|
||||
tc2 = class(tc1)
|
||||
procedure a;override;
|
||||
end;
|
||||
|
||||
procedure tc1.a;
|
||||
|
||||
begin
|
||||
end;
|
||||
|
||||
procedure tc2.a;
|
||||
|
||||
begin
|
||||
end;
|
||||
|
||||
begin
|
||||
end.
|
20
tests/tbs/tb0375.pp
Normal file
20
tests/tbs/tb0375.pp
Normal file
@ -0,0 +1,20 @@
|
||||
{ %VERSION=1.1 }
|
||||
{$mode objfpc}
|
||||
|
||||
type
|
||||
i1 = interface
|
||||
procedure intfp;
|
||||
end;
|
||||
|
||||
tc1 = class(tobject,i1)
|
||||
procedure i1.intfp = p;
|
||||
procedure p;
|
||||
end;
|
||||
|
||||
procedure tc1.p;
|
||||
|
||||
begin
|
||||
end;
|
||||
|
||||
begin
|
||||
end.
|
Loading…
Reference in New Issue
Block a user