소스 검색

* new bug

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

+ 22 - 0
tests/webtbs/tw3028.pp

@@ -0,0 +1,22 @@
+{ Source provided for Free Pascal Bug Report 3028 }
+{ Submitted by "Vincent Snijders" on  2004-03-28 }
+{ e-mail: [email protected] }
+program caseconstant;
+
+{$mode objfpc}{$H+}
+
+const
+  c1 = -(551);
+  c2 = -551;
+
+begin
+  writeln(c1,' $', hexstr(c1, 8));
+  writeln(c2,' $', hexstr(c2, 8));
+  if (c1<>c2) then
+  begin
+    writeln('Failed');
+    halt(1);
+  end
+  else writeln('OK');
+end.
+