mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 17:28:14 +02:00
19 lines
269 B
ObjectPascal
19 lines
269 B
ObjectPascal
{ %target=darwin }
|
|
{ %cpu=powerpc,powerpc64,i386,x86_64,arm,aarch64 }
|
|
{ %fail }
|
|
|
|
{ Written by Jonas Maebe in 2009, released into the public domain }
|
|
|
|
{$mode objfpc}
|
|
{$modeswitch objectivec1}
|
|
|
|
uses
|
|
ctypes;
|
|
|
|
var
|
|
a: NSObjectProtocol;
|
|
b: NSObject;
|
|
begin
|
|
b:=a;
|
|
end.
|