mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 20:08:12 +02:00
20 lines
269 B
ObjectPascal
20 lines
269 B
ObjectPascal
{ %fail }
|
|
|
|
{ %target=darwin }
|
|
{ %cpu=powerpc,powerpc64,i386,x86_64,arm,aarch64 }
|
|
|
|
{$mode objfpc}
|
|
{$modeswitch objectivec1}
|
|
|
|
type
|
|
tc = objcclass(NSObject)
|
|
function test: ansistring; message 'test';
|
|
end;
|
|
|
|
procedure tc.test: ansistring;
|
|
begin
|
|
end;
|
|
|
|
begin
|
|
end.
|