summaryrefslogtreecommitdiff
path: root/tests/test/tobjc13.pp
blob: d3ae8e2a8dd57cfac5a540814b56286478a8210e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ %target=darwin }
{ %cpu=powerpc,powerpc64,i386,x86_64,arm,aarch64 }
{ %norun }

{ Written by Jonas Maebe in 2009, released into the public domain }

{$mode objfpc}
{$modeswitch objectivec1}

type
  ta = objcclass external name 'NSObject' (NSObject)
    procedure test(l: longint; a: array of const); message 'class:';
    procedure test2(l: longint); varargs; message 'class:';
  end;

begin
end.