소스 검색

* also advance the error code in the case of success

git-svn-id: trunk@43419 -
svenbarth 5 년 전
부모
커밋
d813edef72
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      tests/test/trtti17.pp

+ 1 - 0
tests/test/trtti17.pp

@@ -36,6 +36,7 @@ begin
     Writeln('TypeInfo failure; expected: ', aType, ', got: ', aTypeInfo^.Kind);
     Halt(NextErrorCode);
   end;
+  NextErrorCode;
 end;
 
 generic procedure TestTypeKind<T>(aType: TTypeKind); inline;