summary refs log tree commit diff stats
path: root/tests/bind/tbind2.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bind/tbind2.nim')
-rw-r--r--tests/bind/tbind2.nim14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/bind/tbind2.nim b/tests/bind/tbind2.nim
deleted file mode 100644
index fc2eeda1a..000000000
--- a/tests/bind/tbind2.nim
+++ /dev/null
@@ -1,14 +0,0 @@
-discard """
-  errormsg: "ambiguous call"
-  file: "tbind2.nim"
-  line: 12
-"""
-# Test the new ``bind`` keyword for templates
-
-proc p1(x: int8, y: int): int = return x + y
-proc p1(x: int, y: int8): int = return x - y
-
-template tempBind(x, y): untyped =
-  (bind p1(x, y))  #ERROR_MSG ambiguous call
-
-echo tempBind(1'i8, 2'i8)