mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-24 03:19:11 +02:00
* new bug
This commit is contained in:
parent
dc78092853
commit
7ca7f97ba1
17
tests/webtbs/tw2885.pp
Normal file
17
tests/webtbs/tw2885.pp
Normal file
@ -0,0 +1,17 @@
|
||||
{ Source provided for Free Pascal Bug Report 2885 }
|
||||
{ Submitted by "Michalis Kamburelis" on 2004-01-07 }
|
||||
{ e-mail: michalis@camelot.homedns.org }
|
||||
procedure p(const b:Single); overload;
|
||||
begin
|
||||
Writeln('single');
|
||||
end;
|
||||
|
||||
procedure p(const b:Double); overload;
|
||||
begin
|
||||
Writeln('double');
|
||||
halt(1);
|
||||
end;
|
||||
|
||||
begin
|
||||
p(single(1.0));
|
||||
end.
|
Loading…
Reference in New Issue
Block a user