blob: f2b4df2aa52af73fd656a3a7cbe4c43c4c83fa65 (
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}
type
ta = objcclass
{ should give an error because the selector name is invalid }
procedure test(l:longint); message '?test:';
end;
procedure ta.test(l:longint);
begin
end;
begin
end.
|