mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 22:08:11 +02:00
16 lines
229 B
ObjectPascal
16 lines
229 B
ObjectPascal
{ %FAIL }
|
|
|
|
program tprocvar13;
|
|
|
|
{$mode delphi}
|
|
|
|
type O = object
|
|
class procedure Static; static;
|
|
end;
|
|
class procedure O.Static; begin end;
|
|
|
|
var IncompatWStatic: procedure of object;
|
|
begin
|
|
IncompatWStatic := O.Static;
|
|
end.
|