mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 13:59:28 +02:00
+ new test for overflow checking qword multiplication with high(qword)
git-svn-id: trunk@9522 -
This commit is contained in:
parent
537319385b
commit
58600c71b9
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -7138,6 +7138,7 @@ tests/test/tint2str2.pp svneol=native#text/plain
|
||||
tests/test/tint641.pp svneol=native#text/plain
|
||||
tests/test/tint642.pp svneol=native#text/plain
|
||||
tests/test/tint643.pp svneol=native#text/plain
|
||||
tests/test/tint644.pp svneol=native#text/plain
|
||||
tests/test/tinterface1.pp svneol=native#text/plain
|
||||
tests/test/tinterface2.pp svneol=native#text/plain
|
||||
tests/test/tinterface3.pp svneol=native#text/plain
|
||||
|
9
tests/test/tint644.pp
Normal file
9
tests/test/tint644.pp
Normal file
@ -0,0 +1,9 @@
|
||||
{ %result=215 }
|
||||
|
||||
{$q+}
|
||||
var
|
||||
c: qword;
|
||||
begin
|
||||
c:=2;
|
||||
c:=c*qword($ffffffffffffffff);
|
||||
end.
|
Loading…
Reference in New Issue
Block a user