summary refs log tree commit diff stats
path: root/tests/compile/tident.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compile/tident.nim')
-rw-r--r--tests/compile/tident.nim22
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/compile/tident.nim b/tests/compile/tident.nim
deleted file mode 100644
index 1ed9894c6..000000000
--- a/tests/compile/tident.nim
+++ /dev/null
@@ -1,22 +0,0 @@
-
-type
-  TIdObj* = object of TObject

-    id*: int                  # unique id; use this for comparisons and not the pointers

-  

-  PIdObj* = ref TIdObj

-  PIdent* = ref TIdent

-  TIdent*{.acyclic.} = object

-    s*: string

-
-proc myNewString(L: int): string {.inline.} =
-  result = newString(L)
-  if result.len == L: echo("Length correct")
-  else: echo("bug")
-  for i in 0..L-1:
-    if result[i] == '\0':
-      echo("Correct")
-    else: 
-      echo("Wrong")
-  
-var s = myNewString(8)
-