浏览代码

*** empty log message ***

florian 26 年之前
父节点
当前提交
ab313eb964
共有 1 个文件被更改,包括 13 次插入0 次删除
  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.