From: AhmedSaid3617 <[email protected]>

gcc/testsuite/ChangeLog:

        * rust/compile/glob-import-all.rs: New test.

Signed-off-by: AhmedSaid3617 <[email protected]>
---
This change was merged into the gccrs repository and is posted here for
upstream visibility and potential drive-by review, as requested by GCC
release managers.
Each commit email contains a link to its details on github from where you can
find the Pull-Request and associated discussions.


Commit on github: 
https://github.com/Rust-GCC/gccrs/commit/4b5342014c474e63ddba03ecebc2828e017d691f

The commit has been mentioned in the following pull-request(s):
 - https://github.com/Rust-GCC/gccrs/pull/4498

 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 000000000..9e409ee84
--- /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.53.0

Reply via email to