mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 10:18:22 +02:00
21 lines
316 B
ObjectPascal
21 lines
316 B
ObjectPascal
{ %fail }
|
|
{ %target=darwin }
|
|
{ %cpu=powerpc,powerpc64,i386,x86_64,arm,aarch64 }
|
|
|
|
{ Written by Jonas Maebe in 2009, released into the public domain }
|
|
|
|
{$modeswitch objectivec1}
|
|
|
|
uses
|
|
uobjc26;
|
|
|
|
var
|
|
a: ta;
|
|
|
|
begin
|
|
a:=ta(ta.alloc).init;
|
|
// should not be visible
|
|
a.implementationcategorymethod;
|
|
a.release
|
|
end.
|