|
@@ -5,11 +5,11 @@
|
|
|
{ e-mail: [email protected] }
|
|
|
program z;
|
|
|
|
|
|
-{$mode delphi}
|
|
|
+{$ifdef fpc}{$mode delphi}{$endif}
|
|
|
|
|
|
type
|
|
|
IBla = interface
|
|
|
- class function X: Boolean;
|
|
|
+ function X: Boolean;
|
|
|
end;
|
|
|
|
|
|
TBla = class(TInterfacedObject, IBla, IInterface)
|
|
@@ -17,6 +17,11 @@ type
|
|
|
class function X: Boolean;
|
|
|
end;
|
|
|
|
|
|
+class function TBLA.X: Boolean;
|
|
|
+begin
|
|
|
+
|
|
|
+end;
|
|
|
+
|
|
|
begin
|
|
|
TBla.X;
|
|
|
end.
|