fpc/tests/webtbs/tw40955.pp
2024-10-20 17:03:36 +02:00

18 lines
318 B
ObjectPascal

{ %opt=-vh -Seh }
program unused;
uses
ctypes;
begin
{$IF SIZEOF(cint) >= 8)}
Writeln('cint is 8 bytes or larger')
{$ELSEIF SIZEOF(cint) >= 4)}
Writeln('cint is 4 bytes or larger')
{$ELSEIF SIZEOF(cint) >= 2)}
Writeln('cint is 2 bytes or larger')
{$ELSE}
Writeln('cint is a puny 1 byte')
{$ENDIF}
end.