* rtti is case sensitive

This commit is contained in:
peter 2003-10-28 15:33:34 +00:00
parent c8648b9840
commit d338eb525d

View File

@ -1,3 +1,4 @@
{ %version=1.1 }
program dumpprops;
{$ifdef fpc}
@ -38,11 +39,11 @@ begin
t:=TTest.Create;
p:=GetPropInfo(t,'Next');
if (p<>nil) and
(p^.name=Upcase('Next')) then
(p^.name='Next') then
writeln('Success')
else
begin
writeln('ERROR!');
writeln('ERROR! Got: ',p^.name);
halt(1);
end;
end.