mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-26 14:17:13 +01: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/tw36397.pp -text svneol=native#text/pascal
|
||||||
tests/webtbf/tw3643.pp svneol=native#text/plain
|
tests/webtbf/tw3643.pp svneol=native#text/plain
|
||||||
tests/webtbf/tw3644.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/tw3662.pp svneol=native#text/plain
|
||||||
tests/webtbf/tw3680.pp svneol=native#text/plain
|
tests/webtbf/tw3680.pp svneol=native#text/plain
|
||||||
tests/webtbf/tw3716.pp svneol=native#text/plain
|
tests/webtbf/tw3716.pp svneol=native#text/plain
|
||||||
|
|||||||
@ -385,7 +385,10 @@ implementation
|
|||||||
) and
|
) and
|
||||||
(hloopvar.resultdef.typ<>undefineddef)
|
(hloopvar.resultdef.typ<>undefineddef)
|
||||||
then
|
then
|
||||||
MessagePos(hloopvar.fileinfo,type_e_ordinal_expr_expected);
|
begin
|
||||||
|
MessagePos(hloopvar.fileinfo,type_e_ordinal_expr_expected);
|
||||||
|
hloopvar.resultdef:=generrordef;
|
||||||
|
end;
|
||||||
|
|
||||||
hp:=hloopvar;
|
hp:=hloopvar;
|
||||||
while assigned(hp) and
|
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