From: AhmedSaid3617 <[email protected]>
gcc/testsuite/ChangeLog:
* rust/compile/glob-import-all.rs: New test.
Signed-off-by: AhmedSaid3617 <[email protected]>
---
gcc/testsuite/rust/compile/glob-import-all.rs | 9 +++++++++
1 file changed, 9 insertions(+)
create mode 100644 gcc/testsuite/rust/compile/glob-import-all.rs
diff --git a/gcc/testsuite/rust/compile/glob-import-all.rs
b/gcc/testsuite/rust/compile/glob-import-all.rs
new file mode 100644
index 00000000000..9e409ee841e
--- /dev/null
+++ b/gcc/testsuite/rust/compile/glob-import-all.rs
@@ -0,0 +1,9 @@
+// { dg-additional-options "-frust-edition=2015" }
+
+#![feature(no_core)]
+#![no_core]
+
+mod a {
+ #[allow(unused)]
+ use ::*;
+}
--
2.50.1