summaryrefslogtreecommitdiff
path: root/tests/test/tfwork2.pp
blob: 089a488250aba18c6252048f3beb9bf9e9b9b182 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ %target=linux,solaris,freebsd,win32 }
{ %fail }
{ %opt=-vw -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.