소스 검색

* updated runtime check

peter 23 년 전
부모
커밋
e73a226133
1개의 변경된 파일18개의 추가작업 그리고 16개의 파일을 삭제
  1. 18 16
      tests/webtbs/tw2197.pp

+ 18 - 16
tests/webtbs/tw2197.pp

@@ -1,16 +1,18 @@
-
-{ Source provided for Free Pascal Bug Report 2197 }
-{ Submitted by "Pavel V.Ozerski" on  2002-10-23 }
-{ e-mail: [email protected] }
-{$APPTYPE CONSOLE}
-{modified sample of Vlad Smaglyuk}
- procedure Average ({const} Row : Array of byte);
-  begin
-    writeln('Procedure body');
-  end;
- BEGIN
-     writeln('Before call');
-     Average([1,2,3]);
-     writeln('After call');
- END.
-
+{ %RESULT=123 }
+{ Source provided for Free Pascal Bug Report 2197 }
+{ Submitted by "Pavel V.Ozerski" on  2002-10-23 }
+{ e-mail: [email protected] }
+{$APPTYPE CONSOLE}
+{modified sample of Vlad Smaglyuk}
+ procedure Average ({const} Row : Array of byte);
+  begin
+    writeln('Procedure body');
+  end;
+ BEGIN
+     writeln('Before call');
+     Average([1,2,3]);
+     writeln('After call');
+     { We need to be sure that the following exitcode is 
+       returned }
+     runerror(123);
+ END.