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

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

{$modeswitch objectivec1}

uses
  uobjc26;

var
  a: ta;

begin
  a:=ta(ta.alloc).init;
  a.taproc;
  a.release
end.