fpc/tests/webtbs/tw16949b.pp
Jonas Maebe 51616b7bd6 * enabled a bunch of tests also for aix
git-svn-id: trunk@20821 -
2012-04-11 18:04:57 +00:00

22 lines
380 B
ObjectPascal

{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix }
{ %needlibrary }
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.