Browse Source

*** empty log message ***

florian 26 years ago
parent
commit
ab313eb964
1 changed files with 13 additions and 0 deletions
  1. 13 0
      tests/ts/ts010028.pp

+ 13 - 0
tests/ts/ts010028.pp

@@ -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.