mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 15:29:25 +02:00
parent
aabd7c7217
commit
007df5d0fa
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -16118,6 +16118,7 @@ tests/webtbf/tw36377.pp svneol=native#text/pascal
|
||||
tests/webtbf/tw36397.pp -text svneol=native#text/pascal
|
||||
tests/webtbf/tw3643.pp svneol=native#text/plain
|
||||
tests/webtbf/tw3644.pp svneol=native#text/plain
|
||||
tests/webtbf/tw36554.pp svneol=native#text/pascal
|
||||
tests/webtbf/tw3662.pp svneol=native#text/plain
|
||||
tests/webtbf/tw3680.pp svneol=native#text/plain
|
||||
tests/webtbf/tw3716.pp svneol=native#text/plain
|
||||
|
@ -385,7 +385,10 @@ implementation
|
||||
) and
|
||||
(hloopvar.resultdef.typ<>undefineddef)
|
||||
then
|
||||
MessagePos(hloopvar.fileinfo,type_e_ordinal_expr_expected);
|
||||
begin
|
||||
MessagePos(hloopvar.fileinfo,type_e_ordinal_expr_expected);
|
||||
hloopvar.resultdef:=generrordef;
|
||||
end;
|
||||
|
||||
hp:=hloopvar;
|
||||
while assigned(hp) and
|
||||
|
15
tests/webtbf/tw36554.pp
Normal file
15
tests/webtbf/tw36554.pp
Normal file
@ -0,0 +1,15 @@
|
||||
{ %fail }
|
||||
type oWord = record q1,q2 : qword; end;
|
||||
|
||||
procedure megadoodoo;
|
||||
var a : oWord;
|
||||
|
||||
begin
|
||||
for a:=0 to 3 do
|
||||
begin
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
begin
|
||||
end.
|
Loading…
Reference in New Issue
Block a user