codetools: added check for guesstype of helper function result

git-svn-id: trunk@50022 -
This commit is contained in:
mattias 2015-10-09 12:26:09 +00:00
parent ced7b32ee9
commit 066fb17354

View File

@ -35,6 +35,7 @@ var
begin
t := TTest.Create;
res1{guesstype:integer} := t[3];
res2{guesstype:integer} := t.GetTest(3);
Writeln('value: ', res);
if res <> 3 then
Halt(1);