summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/test/uobjc35e.pp
blob: 77bc8bfb075428027c6ab1e8a6caeb5a8b8c3e96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ Written by Jonas Maebe in 2010, released into the public domain }

{$mode objfpc}
{$modeswitch objectivec1}

unit uobjc35e;

interface

type
  MyExternalClass = objcclass(NSObject)
    function myTest: longint; message 'myTest';
  end;

implementation

  function MyExternalClass.myTest: longint;
    begin
      result:=1234;
    end;

end.