fpc/tests/tbs/tb0323.pp
2000-11-30 22:38:14 +00:00

14 lines
220 B
ObjectPascal

// checks type cast of nil in const statement
type
THandle = longint;
WSAEVENT = THandle;
const
WSA_INVALID_EVENT = WSAEVENT(nil);
var
l : longint;
begin
l:=WSA_INVALID_EVENT*1;
end.