summaryrefslogtreecommitdiff
path: root/tests/test/tfwork2.pp
blob: cf14a8b3b4cfa94deb7ee97c1dc3078955d1021f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ %target=linux,solaris,freebsd,win32 }
{ %fail }
{ %opt=-Sew }

{ just some random non-darwin targets }

{$linkframework Carbon}

type
  CFStringRef = pointer;

function CFSTR( c: PChar ): CFStringRef; external name '___CFStringMakeConstantString'; mwpascal;

begin
  CFSTR('hello');  
end.