소스 검색

* new bug

peter 22 년 전
부모
커밋
7ca7f97ba1
1개의 변경된 파일17개의 추가작업 그리고 0개의 파일을 삭제
  1. 17 0
      tests/webtbs/tw2885.pp

+ 17 - 0
tests/webtbs/tw2885.pp

@@ -0,0 +1,17 @@
+{ Source provided for Free Pascal Bug Report 2885 }
+{ Submitted by "Michalis Kamburelis" on  2004-01-07 }
+{ e-mail: [email protected] }
+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.