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

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

{$modeswitch objectivec1}

type
  ta = objcclass
    { should give an error because the selector is invalid }
    procedure test(l:longint); message 'test:l';
  end;

begin
end.