* extended test

git-svn-id: trunk@15582 -
This commit is contained in:
Jonas Maebe 2010-07-15 19:17:38 +00:00
parent 572f51867c
commit 0f269a4a7b

View File

@ -66,6 +66,7 @@ end;
var
A: TMyObject;
gotexception: boolean;
begin
HaltOnNotReleased := true;
CreatedCount := 0;
@ -80,6 +81,8 @@ begin
except
writeln('created objects = ', CreatedCount);
writeln('destroyed objects = ', DestroyedCount);
gotexception:=true;
writeln;
end;
if not gotexception then halt(1);
end.