Browse Source

+ added

git-svn-id: trunk@558 -
Jonas Maebe 20 years ago
parent
commit
32a3f9ce28
2 changed files with 12 additions and 0 deletions
  1. 1 0
      .gitattributes
  2. 11 0
      tests/webtbs/tw4150.pp

+ 1 - 0
.gitattributes

@@ -6123,6 +6123,7 @@ tests/webtbs/tw4100.pp svneol=native#text/plain
 tests/webtbs/tw4115.pp svneol=native#text/plain
 tests/webtbs/tw4119.pp svneol=native#text/plain
 tests/webtbs/tw4140.pp svneol=native#text/plain
+tests/webtbs/tw4150.pp svneol=native#text/plain
 tests/webtbs/ub1873.pp svneol=native#text/plain
 tests/webtbs/ub1883.pp svneol=native#text/plain
 tests/webtbs/uw0555.pp svneol=native#text/plain

+ 11 - 0
tests/webtbs/tw4150.pp

@@ -0,0 +1,11 @@
+{$mode objfpc}{$r+}{$q+}
+var
+Prec:Cardinal;
+Bits:Word;
+begin
+  Bits := 512;
+  Prec := 8;
+  Bits := Bits shr (16-Prec);
+  WriteLn(bits);
+end.
+