summary refs log tree commit diff stats
path: root/tests/compile/tgeneric4.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compile/tgeneric4.nim')
-rw-r--r--tests/compile/tgeneric4.nim10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/compile/tgeneric4.nim b/tests/compile/tgeneric4.nim
deleted file mode 100644
index f79096636..000000000
--- a/tests/compile/tgeneric4.nim
+++ /dev/null
@@ -1,10 +0,0 @@
-type
-  TIDGen*[A: Ordinal] = object
-    next: A
-    free: seq[A]
-
-proc newIDGen*[A]: TIDGen[A] =
-    newSeq result.free, 0
-
-var x = newIDGen[int]()
-