From 76a98fee650228306a6b1af72e64bb83a9473ef0 Mon Sep 17 00:00:00 2001 From: Bung Date: Tue, 23 May 2023 15:39:44 +0800 Subject: fix #21251 Compiler SIGSEGV when using SharedTable (#21876) fix #21251 --- tests/stdlib/t21251.nim | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/stdlib/t21251.nim (limited to 'tests/stdlib') 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 -- cgit 1.4.1-2-gfad0