mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 08:18:12 +02:00
17 lines
258 B
ObjectPascal
17 lines
258 B
ObjectPascal
{ %FAIL }
|
|
|
|
program tprocvar14;
|
|
|
|
{$mode delphi}
|
|
|
|
type C = class end;
|
|
type H = class helper for C
|
|
class procedure NonStatic;
|
|
end;
|
|
class procedure H.NonStatic; begin end;
|
|
|
|
var IncompatWNonStatic: procedure;
|
|
begin
|
|
IncompatWNonStatic := H.NonStatic;
|
|
end.
|