summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/reject/tnolen.nim9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/reject/tnolen.nim b/tests/reject/tnolen.nim
new file mode 100644
index 000000000..5bb1d6c82
--- /dev/null
+++ b/tests/reject/tnolen.nim
@@ -0,0 +1,9 @@
+discard """
+  line: 8
+  msg: "Error: type mismatch: got (int)"
+"""
+
+# please finally disallow Len(3)
+
+echo len(3)
+