summary refs log tree commit diff stats
path: root/tests/system
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-03-24 15:48:56 +0100
committerAraq <rumpf_a@web.de>2015-03-24 23:07:18 +0100
commita30becf1b5379c5d26223d91bbbdf2dcab396f73 (patch)
treedeb93e5f987af82213dbff0670966b92784424d7 /tests/system
parent620174b0e0262ead071b55d256c290610cbd00e7 (diff)
downloadNim-a30becf1b5379c5d26223d91bbbdf2dcab396f73.tar.gz
fixes #2395
Diffstat (limited to 'tests/system')
-rw-r--r--tests/system/settostring.nim8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/system/settostring.nim b/tests/system/settostring.nim
new file mode 100644
index 000000000..c6846ee99
--- /dev/null
+++ b/tests/system/settostring.nim
@@ -0,0 +1,8 @@
+discard """
+  output: "{a, b, c}"
+"""
+
+# bug #2395
+
+let alphaSet: set[char] = {'a'..'c'}
+echo alphaSet