fpc/tests/test/tobjc19.pp
Jonas Maebe 536529977a * added header
git-svn-id: trunk@14229 -
2009-11-20 18:38:42 +00:00

17 lines
320 B
ObjectPascal

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