]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gccrs: Added test case for global import all
authorAhmedSaid3617 <said.ahmed3617@gmail.com>
Sat, 11 Apr 2026 09:41:47 +0000 (11:41 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 14 Apr 2026 21:49:03 +0000 (23:49 +0200)
gcc/testsuite/ChangeLog:

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

Signed-off-by: AhmedSaid3617 <said.ahmed3617@gmail.com>
gcc/testsuite/rust/compile/glob-import-all.rs [new file with mode: 0644]

diff --git a/gcc/testsuite/rust/compile/glob-import-all.rs b/gcc/testsuite/rust/compile/glob-import-all.rs
new file mode 100644 (file)
index 0000000..9e409ee
--- /dev/null
@@ -0,0 +1,9 @@
+// { dg-additional-options "-frust-edition=2015" }
+
+#![feature(no_core)]
+#![no_core]
+
+mod a {
+    #[allow(unused)]
+    use ::*;
+}