mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 18:02:05 +00:00
7 lines
119 B
Nim
7 lines
119 B
Nim
# new test for sets:
|
|
|
|
const elem = ' '
|
|
|
|
var s: set[char] = {elem}
|
|
assert(elem in s and 'a' not_in s and 'c' not_in s )
|