mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-30 21:00:30 +02:00
no message
This commit is contained in:
parent
e0fb1629c6
commit
5a3081439e
17
tests/webtbf/tw2128.pp
Normal file
17
tests/webtbf/tw2128.pp
Normal file
@ -0,0 +1,17 @@
|
||||
{ %version=1.1}
|
||||
{ %fail }
|
||||
|
||||
{ Source provided for Free Pascal Bug Report 2128 }
|
||||
{ Submitted by "Bill Rayer" on 2002-09-18 }
|
||||
{ e-mail: lingolanguage@hotmail.com }
|
||||
|
||||
{
|
||||
Excessive 64-bit literal causes the FPC compiler to crash.
|
||||
}
|
||||
var
|
||||
c : comp;
|
||||
begin
|
||||
c := -9223372036854775809;
|
||||
if c<>-9223372036854775809 then
|
||||
halt(1);
|
||||
end.
|
@ -10,7 +10,10 @@
|
||||
var
|
||||
c : comp;
|
||||
begin
|
||||
c := -9223372036854775809;
|
||||
if c<>-9223372036854775809 then
|
||||
halt(1);
|
||||
c := -9223372036854775808;
|
||||
if c<>-9223372036854775808 then
|
||||
begin
|
||||
writeln('Error');
|
||||
halt(1);
|
||||
end;
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user