summaryrefslogtreecommitdiff
path: root/libphobos/testsuite/libphobos.thread/test_import.d
diff options
context:
space:
mode:
Diffstat (limited to 'libphobos/testsuite/libphobos.thread/test_import.d')
-rw-r--r--libphobos/testsuite/libphobos.thread/test_import.d7
1 files changed, 7 insertions, 0 deletions
diff --git a/libphobos/testsuite/libphobos.thread/test_import.d b/libphobos/testsuite/libphobos.thread/test_import.d
new file mode 100644
index 00000000000..dfa0487d916
--- /dev/null
+++ b/libphobos/testsuite/libphobos.thread/test_import.d
@@ -0,0 +1,7 @@
+// https://issues.dlang.org/show_bug.cgi?id=20447
+void main()
+{
+ import core.thread;
+ int[] x;
+ auto b = x.dup;
+}