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

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

{$modeswitch objectivec1}

uses
  uobjc27a;

var
  a: ta;

begin
  { da_category method is declared in uobjc27a, which is used in the
    implementation of uobjc27b -> should not be visible here }
  a.da_categorymethod;
end.