Browse Source

Merged revisions 558 via svnmerge from
/trunk

git-svn-id: branches/fixes_2_0@560 -

Jonas Maebe 20 years ago
parent
commit
07e554a4b5
2 changed files with 12 additions and 0 deletions
  1. 1 0
      .gitattributes
  2. 11 0
      tests/webtbs/tw4150.pp

+ 1 - 0
.gitattributes

@@ -5939,6 +5939,7 @@ tests/webtbs/tw4078.pp svneol=native#text/plain
 tests/webtbs/tw4089.pp svneol=native#text/plain
 tests/webtbs/tw4089.pp svneol=native#text/plain
 tests/webtbs/tw4093.pp svneol=native#text/plain
 tests/webtbs/tw4093.pp svneol=native#text/plain
 tests/webtbs/tw4115.pp svneol=native#text/plain
 tests/webtbs/tw4115.pp svneol=native#text/plain
+tests/webtbs/tw4150.pp svneol=native#text/plain
 tests/webtbs/ub1873.pp svneol=native#text/plain
 tests/webtbs/ub1873.pp svneol=native#text/plain
 tests/webtbs/ub1883.pp svneol=native#text/plain
 tests/webtbs/ub1883.pp svneol=native#text/plain
 tests/webtbs/uw0555.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.
+