fpc/tests/webtbs/tw16949b.pp
yury ee1e6eb4ea * Add %delfiles for proper clean-up.
git-svn-id: branches/targetandroid@23495 -
2013-01-22 16:58:30 +00:00

23 lines
411 B
ObjectPascal

{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android }
{ %needlibrary }
{ %delfiles=tw16949a }
program ptest;
{$ifdef fpc}{$mode objfpc}{$H+}{$endif fpc}
const
{$if defined(windows) or defined(mswindows)}
libname='tw16949a.dll';
{$else}
libname='tw16949a';
{$linklib tw16949a}
{$ifend}
function foo: LongInt; cdecl; external libname;
begin
if foo<>12345 then
halt(1);
end.