fpc/tests/webtfs/tw39599a.pp

11 lines
163 B
ObjectPascal

{ %fail }
program project1;
{$mode objfpc}
type
TMyClass = class(TObject)
const
procedure A; virtual; abstract; // should not be allowed
end;
begin
end.