mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 19:59:29 +02:00
parent
ce3335affe
commit
f3e140fc50
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -18301,6 +18301,7 @@ tests/webtbs/tw3444.pp svneol=native#text/plain
|
||||
tests/webtbs/tw34442.pp svneol=native#text/plain
|
||||
tests/webtbs/tw34496.pp svneol=native#text/pascal
|
||||
tests/webtbs/tw34509.pp svneol=native#text/pascal
|
||||
tests/webtbs/tw34543.pp svneol=native#text/plain
|
||||
tests/webtbs/tw3456.pp svneol=native#text/plain
|
||||
tests/webtbs/tw3457.pp svneol=native#text/plain
|
||||
tests/webtbs/tw3460.pp svneol=native#text/plain
|
||||
|
18
tests/webtbs/tw34543.pp
Normal file
18
tests/webtbs/tw34543.pp
Normal file
@ -0,0 +1,18 @@
|
||||
{ %norun }
|
||||
|
||||
{$r+}
|
||||
procedure range_check_fail;
|
||||
var v : word;
|
||||
vTo : word;
|
||||
vNo : word;
|
||||
begin
|
||||
vTo:=3;
|
||||
vNo:=0;
|
||||
for v:=vNo to vTo do {Error: range check error while evaluating constants (-1 must be between 0 and 65535)}
|
||||
begin
|
||||
end;
|
||||
end;
|
||||
|
||||
begin
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user