fpc/tests/ts/ts010028.pp
1999-12-19 12:07:23 +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.