summary refs log blame commit diff stats
path: root/tests/ccgbugs/t9098.nim
blob: e1dbb6883f5cb75bce351aa176f69ef62b8f4985 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                          
discard """
  targets: "c cpp js"
  output: '''
{'a', 'b'}
'''
"""

var x = new(ref set[char])
var y = new(ref set[char])
x[] = {'a'}
y[] = {'b'}
echo x[] + y[]