summary refs log tree commit diff stats
path: root/tests/errmsgs/t6499.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errmsgs/t6499.nim')
-rw-r--r--tests/errmsgs/t6499.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/errmsgs/t6499.nim b/tests/errmsgs/t6499.nim
new file mode 100644
index 000000000..25e78fdbb
--- /dev/null
+++ b/tests/errmsgs/t6499.nim
@@ -0,0 +1,6 @@
+discard """
+  errormsg: "'chr' is a built-in and cannot be used as a first-class procedure"
+"""
+
+# bug #6499
+let x = (chr, 0)