summary refs log tree commit diff stats
path: root/tests/system/tsettostring.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/system/tsettostring.nim')
-rw-r--r--tests/system/tsettostring.nim8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/system/tsettostring.nim b/tests/system/tsettostring.nim
new file mode 100644
index 000000000..c6846ee99
--- /dev/null
+++ b/tests/system/tsettostring.nim
@@ -0,0 +1,8 @@
+discard """
+  output: "{a, b, c}"
+"""
+
+# bug #2395
+
+let alphaSet: set[char] = {'a'..'c'}
+echo alphaSet