Browse Source

add test for #3946

Dan Korostelev 10 years ago
parent
commit
8dc358a29c
1 changed files with 10 additions and 0 deletions
  1. 10 0
      tests/unit/src/unit/issues/Issue3946.hx

+ 10 - 0
tests/unit/src/unit/issues/Issue3946.hx

@@ -0,0 +1,10 @@
+package unit.issues;
+
+class Issue3946 extends Test {
+    #if cs
+    function test() {
+        var arr = cs.Lib.arrayAlloc(10);
+        eq(arr.length, 10);
+    }
+    #end
+}