123456789101112131415161718192021222324 |
- { %fail }
- program project1;
- {$mode objfpc}{$H+}
- type
- IExample = interface
- function add(a, b: single): integer;
- end;
- { TExample }
- TExample = class (TInterfacedObject, IExample)
- function add(a, b: single): single;
- end;
- function texample.add(a, b: single): single;
- begin
- end;
- begin
- end.
|