summary refs log tree commit diff stats
path: root/tests/reject/tnoinst.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reject/tnoinst.nim')
-rw-r--r--tests/reject/tnoinst.nim16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/reject/tnoinst.nim b/tests/reject/tnoinst.nim
deleted file mode 100644
index 23a4145e0..000000000
--- a/tests/reject/tnoinst.nim
+++ /dev/null
@@ -1,16 +0,0 @@
-discard """
-  line: 12
-  errormsg: "instantiate 'notConcrete' explicitely"
-"""
-
-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]()
-