fpc/tests/webtbs/tw21914.pp
2012-05-20 19:02:36 +00:00

11 lines
196 B
ObjectPascal

{ %norun }
{$mode objfpc}
program project1;
function treeElementAsString(node: TObject): string; inline;
begin
result:=node.ClassName
end;
begin
writeln(treeElementAsString(TObject(2)));
end.