lazarus/components/PascalScript/Samples/Import/t9.rops
martin b65dc1ef59 Adding PascalScript from REM Objects
git-svn-id: trunk@38401 -
2012-08-27 11:02:51 +00:00

17 lines
220 B
Plaintext

Program test;
var
t: TObject;
i: IUnknown;
begin
t := TObject.Create;
try
try
i := t;
except
writeln('Expected Exception: Interface not supported');
end;
finally
t.Free;
end;
end.