Browse Source

* version which also fails in 2.3.1

git-svn-id: trunk@11479 -
Jonas Maebe 17 years ago
parent
commit
4ea13a420e
1 changed files with 10 additions and 6 deletions
  1. 10 6
      tests/webtbs/tw11619.pp

+ 10 - 6
tests/webtbs/tw11619.pp

@@ -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 }
-BEGIN
-  IO:=IORESULT;
-END.
+   IO: WORD; { or LONGINT if wanted }
 
 
+function test: word; inline;
+begin
+  test:=1;
+  writeln(io);
+end;
 
 
+BEGIN
+   IO:=test;
+END.