fpc/tests/webtbf/tw36397.pp
florian ac6e4f59c6 * better error recovery, resolves #36397
git-svn-id: trunk@43653 -
2019-12-05 20:46:50 +00:00

21 lines
224 B
ObjectPascal

{ %fail }
program Project1;
{$mode delphi}
type
TTest = object
class procedure myproc;
end;
class procedure TTest.myproc;
begin
end;
var
p: procedure;
begin
p := TTest.myproc;
end.