From: AhmedSaid3617 Date: Sat, 11 Apr 2026 09:41:47 +0000 (+0200) Subject: gccrs: Added test case for global import all X-Git-Tag: basepoints/gcc-17~148 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=4987d48bdab2a398a5de27c8a438dc8a9dd3142f;p=thirdparty%2Fgcc.git gccrs: Added test case for global import all gcc/testsuite/ChangeLog: * rust/compile/glob-import-all.rs: New test. Signed-off-by: AhmedSaid3617 --- 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 ::*; +}