瀏覽代碼

*** empty log message ***

florian 21 年之前
父節點
當前提交
5a37581b29
共有 1 個文件被更改,包括 8 次插入2 次删除
  1. 8 2
      tests/test/trtti3.pp

+ 8 - 2
tests/test/trtti3.pp

@@ -12,12 +12,18 @@ begin
    a:=c1+c2;
    finalize(a);
    if length(a)<>0 then
-     halt(1);
+     begin
+       writeln('length of a: ',length(a),' instead of 0');
+       halt(1);
+     end;
    for i:=1 to 10 do
      aa[i]:=c1+c2;
    finalize(aa[1],10);
    for i:=1 to 10 do
      if length(aa[i])<>0 then
-       halt(1);
+       begin
+         writeln('error at element: ',i,' contents: ''',aa[i],'''  instead of ''''');
+         halt(1);
+       end;
 end.