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