summary refs log tree commit diff stats
path: root/tests/reject/tbind2.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reject/tbind2.nim')
-rwxr-xr-xtests/reject/tbind2.nim10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/reject/tbind2.nim b/tests/reject/tbind2.nim
deleted file mode 100755
index 41711083f..000000000
--- a/tests/reject/tbind2.nim
+++ /dev/null
@@ -1,10 +0,0 @@
-# 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: expr): expr = 
-  bind p1(x, y)  #ERROR_MSG ambiguous call
-
-echo tempBind(1'i8, 2'i8)
-