summaryrefslogtreecommitdiff
path: root/tests/test/tobjc19.pp
blob: 54603ad1e9d8efc3cea3e236b62292c88cff0f4e (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,aarch64 }

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