fpc/tests/test/tobjc19.pp
Jonas Maebe b76def10b2 + check whether selector names are valid when they are specified in a class
delcaration (instead of only for objcselector() nodes)
  * also print the wrong selector itself when it's wrong

git-svn-id: branches/objc@13689 -
2009-09-11 16:12:27 +00:00

15 lines
230 B
ObjectPascal

{ %fail }
{ %target=darwin }
{ %cpu=powerpc,i386 }
{$modeswitch objectivec1}
type
ta = objcclass
{ should give an error because the selector is invalid }
procedure test(l:longint); message 'test:l';
end;
begin
end.