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.nim7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/reject/tbind2.nim b/tests/reject/tbind2.nim
index 41711083f..06065538e 100755
--- a/tests/reject/tbind2.nim
+++ b/tests/reject/tbind2.nim
@@ -1,3 +1,8 @@
+discard """
+  file: "tbind2.nim"
+  line: 12
+  errormsg: "ambiguous call"
+"""
 # Test the new ``bind`` keyword for templates
 
 proc p1(x: int8, y: int): int = return x + y
@@ -8,3 +13,5 @@ template tempBind(x, y: expr): expr =
 
 echo tempBind(1'i8, 2'i8)
 
+
+