summary refs log tree commit diff stats
path: root/tests/reject/tambsym3.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reject/tambsym3.nim')
-rwxr-xr-xtests/reject/tambsym3.nim7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/reject/tambsym3.nim b/tests/reject/tambsym3.nim
index 96a5098c9..0155f258c 100755
--- a/tests/reject/tambsym3.nim
+++ b/tests/reject/tambsym3.nim
@@ -1,3 +1,8 @@
+discard """
+  file: "tambsym3.nim"
+  line: 11
+  errormsg: "ambiguous identifier"
+"""
 # Test ambiguous symbols

 

 import mambsym1, times

@@ -6,3 +11,5 @@ var
   v = mDec #ERROR_MSG ambiguous identifier

 

 writeln(stdout, ord(v))

+
+