fpc/tests/webtbs/tw6586b.pp
Jonas Maebe 61df38ae9b + tests from mantis #6586, already work after the previous shared
library fixes

git-svn-id: trunk@10559 -
2008-03-25 15:44:30 +00:00

23 lines
365 B
ObjectPascal

{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos }
{ %needlibrary }
program project1;
{$mode objfpc}{$H+}
uses cmem;
const
{$ifdef windows}
libname='tw6586a.dll';
{$else}
libname='tw6586a';
{$linklib tw6586a}
{$endif}
procedure ExportTest1(input: longint); stdcall; external libname;
begin
writeln('Watch for Seg fault on closing');
end.