summary refs log tree commit diff stats
path: root/tests/misc/tnoinst.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/tnoinst.nim')
-rw-r--r--tests/misc/tnoinst.nim16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/misc/tnoinst.nim b/tests/misc/tnoinst.nim
deleted file mode 100644
index 85db1e8e7..000000000
--- a/tests/misc/tnoinst.nim
+++ /dev/null
@@ -1,16 +0,0 @@
-discard """
-  errormsg: "instantiate 'notConcrete' explicitly"
-  line: 12
-  disabled: "true"
-"""
-
-proc wrap[T]() =
-  proc notConcrete[T](x, y: int): int =
-    var dummy: T
-    result = x - y
-
-  var x: proc (x, y: T): int
-  x = notConcrete
-
-
-wrap[int]()