fpc/tests/tbs/tb0423.pp
2013-10-18 15:43:14 +00:00

18 lines
248 B
ObjectPascal

{$ifdef fpc}{$mode delphi}{$endif}
type
{$ifndef fpc}
codepointer = pointer;
{$endif}
tmethod = record
code : codepointer;
data : pointer;
end;
var
p : procedure(l : longint) of object;
begin
tmethod(p).data:=nil;
end.