diff options
author | flywind <43030857+xflywind@users.noreply.github.com> | 2020-10-30 16:58:55 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-30 09:58:55 +0100 |
commit | 17f08b2939db224d533db846fc3fa8ab91cc9755 (patch) | |
tree | 94654e4423c0e665f37e55dfdc6ec4c27746e498 /tests/js | |
parent | 2de90a14cbc5182efad2cff63cd33f820e3a8832 (diff) | |
download | Nim-17f08b2939db224d533db846fc3fa8ab91cc9755.tar.gz |
closes #7658 (#15784)
* fix #7658 * more
Diffstat (limited to 'tests/js')
-rw-r--r-- | tests/js/tunion.nim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/js/tunion.nim b/tests/js/tunion.nim new file mode 100644 index 000000000..e185495ad --- /dev/null +++ b/tests/js/tunion.nim @@ -0,0 +1,7 @@ +discard """ + errormsg: "`{.union.}` is not implemented for js backend." +""" + +type Foo {.union.} = object + as_bytes: array[8, int8] + data: int64 |