summaryrefslogtreecommitdiff
path: root/tests/test/tobjc26a.pp
blob: 00dedc04508cddb33854170845430b5a41b6a725 (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,aarch64 }

{ 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.