mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 20:09:18 +02:00
*** empty log message ***
This commit is contained in:
parent
b8d4922188
commit
ab313eb964
13
tests/ts/ts010028.pp
Normal file
13
tests/ts/ts010028.pp
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
// 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.
|
Loading…
Reference in New Issue
Block a user