diff options
author | flywind <xzsflywind@gmail.com> | 2021-04-16 01:25:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-15 19:25:35 +0200 |
commit | 5c12c711f7076d0b095d6ca392de4e11834ceb0f (patch) | |
tree | 547c6e09cd192366c8a236f06f9720eafccfcb9a /tests | |
parent | 3f56b9944e5e81338630060bdc89454853340792 (diff) | |
download | Nim-5c12c711f7076d0b095d6ca392de4e11834ceb0f.tar.gz |
follow up #17518 (#17726)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/vm/tvmmisc.nim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/vm/tvmmisc.nim b/tests/vm/tvmmisc.nim index f542fa560..f0d2c2dbf 100644 --- a/tests/vm/tvmmisc.nim +++ b/tests/vm/tvmmisc.nim @@ -279,6 +279,14 @@ block: # bug #10815 const a = P() doAssert $a == "" + +when defined osx: # xxx bug https://github.com/nim-lang/Nim/issues/10815#issuecomment-476380734 + block: + type CharSet {.union.} = object + cs: set[char] + vs: array[4, uint64] + const a = Charset(cs: {'a'..'z'}) + doAssert a.repr.len > 0 import tables |