summary refs log tree commit diff stats
path: root/tests/import
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2024-01-05 15:17:08 +0800
committerGitHub <noreply@github.com>2024-01-05 08:17:08 +0100
commit4eaa3b028cd8963799a637c8a4f7f553386fe395 (patch)
treeb3f91955b988a88e885814769e321b9447108e7d /tests/import
parentc4f98b7696ce74c9952c973b0f09e59234f84917 (diff)
downloadNim-4eaa3b028cd8963799a637c8a4f7f553386fe395.tar.gz
fixes #23167; take `nkOpenSymChoice` into consideration caused by templates [backport] (#23168)
fixes #23167
Diffstat (limited to 'tests/import')
-rw-r--r--tests/import/t23167.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/import/t23167.nim b/tests/import/t23167.nim
new file mode 100644
index 000000000..0891ee2af
--- /dev/null
+++ b/tests/import/t23167.nim
@@ -0,0 +1,5 @@
+# bug #23167
+template sharedImport() =
+  import std / os
+
+sharedImport()