diff --git a/tests/system/settostring.nim b/tests/system/settostring.nim new file mode 100644 index 0000000000..c6846ee991 --- /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