mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 08:18:12 +02:00
11 lines
163 B
ObjectPascal
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.
|