mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 16:49:07 +02:00
* version which also fails in 2.3.1
git-svn-id: trunk@11479 -
This commit is contained in:
parent
916e982519
commit
4ea13a420e
@ -1,13 +1,17 @@
|
|||||||
{ %norun }
|
{ %norun }
|
||||||
|
|
||||||
|
{$inline on}
|
||||||
program TEST;
|
program TEST;
|
||||||
{$EXTENDEDSYNTAX OFF}
|
{$EXTENDEDSYNTAX OFF}
|
||||||
USES
|
|
||||||
DOS;
|
|
||||||
VAR
|
VAR
|
||||||
IO: WORD; { or LONGINT if wanted }
|
IO: WORD; { or LONGINT if wanted }
|
||||||
|
|
||||||
|
function test: word; inline;
|
||||||
|
begin
|
||||||
|
test:=1;
|
||||||
|
writeln(io);
|
||||||
|
end;
|
||||||
|
|
||||||
BEGIN
|
BEGIN
|
||||||
IO:=IORESULT;
|
IO:=test;
|
||||||
END.
|
END.
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user