Explorar o código

* also advance the error code in the case of success

git-svn-id: trunk@43419 -
svenbarth %!s(int64=5) %!d(string=hai) anos
pai
achega
d813edef72
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;