Ver Fonte

*** empty log message ***

florian há 26 anos atrás
pai
commit
ab313eb964
1 ficheiros alterados com 13 adições e 0 exclusões
  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.