- removed overflow, so the test also works with constant propagation and -Co

git-svn-id: trunk@33201 -
This commit is contained in:
Jonas Maebe 2016-03-07 14:40:52 +00:00
parent 38fd0efa3b
commit 70cd8f6e59

View File

@ -1,12 +1,12 @@
var x:uint64;
y:longword;
begin
y:=123;
y:=12;
x:=y*uint64(10116239910488455739);
if x<>8365656051540097625 then
halt(1);
x:=y*uint64($8000000000000000);
if x<>(uint64(123) shl 63) then
if x<>(uint64(12) shl 63) then
halt(2);
end.