diff options
author | Bung <crc32@qq.com> | 2023-05-23 15:39:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-23 09:39:44 +0200 |
commit | 76a98fee650228306a6b1af72e64bb83a9473ef0 (patch) | |
tree | 118426f25bd63b55078b8ba889f294069f3b35cc /tests | |
parent | d696ef5ad7cefdde044bce0277fac172de0f56ea (diff) | |
download | Nim-76a98fee650228306a6b1af72e64bb83a9473ef0.tar.gz |
fix #21251 Compiler SIGSEGV when using SharedTable (#21876)
fix #21251
Diffstat (limited to 'tests')
-rw-r--r-- | tests/stdlib/t21251.nim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/stdlib/t21251.nim b/tests/stdlib/t21251.nim new file mode 100644 index 000000000..4402e9b7e --- /dev/null +++ b/tests/stdlib/t21251.nim @@ -0,0 +1,6 @@ +import std / [tables, sets, sharedtables] + +var shared: SharedTable[int, int] +shared.init + +shared[1] = 1 |