mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 08:18:12 +02:00
20 lines
302 B
ObjectPascal
20 lines
302 B
ObjectPascal
{ %fail }
|
|
|
|
{ Source provided for Free Pascal Bug Report 3480 }
|
|
{ Submitted by "Danny Milosavljevic" on 2004-12-26 }
|
|
{ e-mail: danny_milo@yahoo.com }
|
|
program z;
|
|
|
|
{$ifdef fpc}{$mode delphi}{$endif}
|
|
|
|
type
|
|
IBla = interface
|
|
{ This is not allowed }
|
|
class function X: Boolean;
|
|
end;
|
|
|
|
end;
|
|
|
|
begin
|
|
end.
|