t9098.nim 161 B

12345678910111213
  1. discard """
  2. targets: "c cpp js"
  3. output: '''
  4. {'a', 'b'}
  5. '''
  6. """
  7. var x = new(ref set[char])
  8. var y = new(ref set[char])
  9. x[] = {'a'}
  10. y[] = {'b'}
  11. echo x[] + y[]