diff options
author | cooldome <cdome@bk.ru> | 2019-05-09 15:45:56 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-05-09 16:45:56 +0200 |
commit | f4c9eb17741190ee73d4f2e9f3df3485581e8371 (patch) | |
tree | 6a52c8261892ee3cba3b0db793c2fd6010417805 /tests/destructor | |
parent | 532edc3e9a9e5bd4ad8780aad304cef6932213ed (diff) | |
download | Nim-f4c9eb17741190ee73d4f2e9f3df3485581e8371.tar.gz |
fixes #11204 (#11207)
Diffstat (limited to 'tests/destructor')
-rw-r--r-- | tests/destructor/tv2_cast.nim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/destructor/tv2_cast.nim b/tests/destructor/tv2_cast.nim index 82c03fb17..8a4d69ef0 100644 --- a/tests/destructor/tv2_cast.nim +++ b/tests/destructor/tv2_cast.nim @@ -17,3 +17,8 @@ echo cast[string](@[116'u8, 101, 115, 116]) var a = cast[seq[uint32]]("test1234") a.setLen(2) echo a + + +#issue 11204 +var ac {.compileTime.} = @["a", "b"] +const bc = ac.len \ No newline at end of file |