summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/test/tobjc26.pp
blob: 12dd6ce29150846fc712287618077f220d39d5c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ %fail }
{ %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;
  // should not be visible
  a.implementationcategorymethod;
  a.release
end.