* expected code is 220

This commit is contained in:
pierre 2002-10-15 12:04:57 +00:00
parent 37708dd83b
commit abebcaa63a

View File

@ -1,4 +1,4 @@
{%RESULT=219 }
{%RESULT=220 }
{ %OPT= -CR }
program test_object;
@ -9,34 +9,34 @@ type
constructor init;
procedure mymethod; virtual;
end;
pobj2 = ^tobj2;
tobj2 = object
constructor init;
procedure mymethod; virtual;
end;
constructor tobj2.init;
begin
end;
procedure tobj2.mymethod;
begin
end;
constructor tobj1.init;
begin
end;
procedure tobj1.mymethod;
begin
end;
var
_obj1 : pobj1;
_obj2 : pobj2;
@ -45,4 +45,4 @@ Begin
_obj2:=new(pobj2,init);
pobj1(_obj2)^.mymethod;
end.