mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-05 08:50:19 +02:00
+ add test for already fixed #39677
This commit is contained in:
parent
22a4cc66ec
commit
97c16401f7
15
tests/webtbs/tw39677.pp
Normal file
15
tests/webtbs/tw39677.pp
Normal file
@ -0,0 +1,15 @@
|
||||
{ %NORUN }
|
||||
|
||||
program tw39677;
|
||||
|
||||
{$mode Delphi}
|
||||
|
||||
uses uw39677b, uw39677a;
|
||||
|
||||
var
|
||||
S: Rawbytestring;
|
||||
I: Integer;
|
||||
begin
|
||||
I := Test(S);
|
||||
end.
|
||||
|
11
tests/webtbs/uw39677a.pp
Normal file
11
tests/webtbs/uw39677a.pp
Normal file
@ -0,0 +1,11 @@
|
||||
unit uw39677a;
|
||||
{$mode Delphi}
|
||||
interface
|
||||
function Test(const A: Rawbytestring): Integer; overload;
|
||||
implementation
|
||||
function Test(const A: Rawbytestring): Integer;
|
||||
begin
|
||||
Writeln('a');
|
||||
end;
|
||||
end.
|
||||
|
11
tests/webtbs/uw39677b.pp
Normal file
11
tests/webtbs/uw39677b.pp
Normal file
@ -0,0 +1,11 @@
|
||||
unit uw39677b;
|
||||
{$mode Delphi}
|
||||
interface
|
||||
function Test<T>(const A: TArray<T>): Integer; overload;
|
||||
implementation
|
||||
function Test<T>(const A: TArray<T>): Integer;
|
||||
begin
|
||||
Writeln('b');
|
||||
end;
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user