summary refs log tree commit diff stats
path: root/tests/errmsgs/ta.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errmsgs/ta.nim')
-rw-r--r--tests/errmsgs/ta.nim12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/errmsgs/ta.nim b/tests/errmsgs/ta.nim
new file mode 100644
index 000000000..31baae773
--- /dev/null
+++ b/tests/errmsgs/ta.nim
@@ -0,0 +1,12 @@
+discard """
+  errormsg: "type mismatch: got <mc.typ>"
+  line: 12
+"""
+
+import mb, mc
+
+proc test(testing: mb.typ) =
+  discard
+
+var s: mc.typ
+test(s)