]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gccrs: Move failing test to xfail
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Wed, 4 Sep 2024 15:13:04 +0000 (17:13 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Wed, 19 Mar 2025 14:32:14 +0000 (15:32 +0100)
We want to begin experimenting with this new name resolution 2.0
algorithm as soon as possible. This test highlight a problem where the
compiler should emit an error and should be fixed soon.

gcc/testsuite/ChangeLog:

* rust/compile/name_resolution21.rs: Move to...
* rust/compile/xfail/name_resolution21.rs: ...here.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/testsuite/rust/compile/xfail/name_resolution21.rs [moved from gcc/testsuite/rust/compile/name_resolution21.rs with 62% similarity]

similarity index 62%
rename from gcc/testsuite/rust/compile/name_resolution21.rs
rename to gcc/testsuite/rust/compile/xfail/name_resolution21.rs
index 3d0af2b37b761822698171e05c3cb95fb8b4660c..df48d0015987b6047aaae40da42dacb49576f32c 100644 (file)
@@ -5,7 +5,8 @@ pub mod foo {
 }
 
 use foo::bar;
-use foo::bar; // { dg-error ".bar. defined multiple times" }
+use foo::bar;
+// { dg-error ".bar. defined multiple times" "" { xfail *-*-* } .-1 }
 
 fn main() {
     bar!();