aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2024-09-04 17:13:04 +0200
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2024-09-26 22:48:32 +0000
commit49f0300a40f9202e6f89797063529e1d3de95c0d (patch)
treea84ed8b58a57aa6c240930e39e945bdac3c8d0f2 /gcc
parentdeb94244cb1f568e0416414e5eebf7848745ce90 (diff)
downloadgcc-49f0300a40f9202e6f89797063529e1d3de95c0d.zip
gcc-49f0300a40f9202e6f89797063529e1d3de95c0d.tar.gz
gcc-49f0300a40f9202e6f89797063529e1d3de95c0d.tar.bz2
Move failing test to xfail
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>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/rust/compile/xfail/name_resolution21.rs (renamed from gcc/testsuite/rust/compile/name_resolution21.rs)3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/rust/compile/name_resolution21.rs b/gcc/testsuite/rust/compile/xfail/name_resolution21.rs
index 3d0af2b..df48d00 100644
--- a/gcc/testsuite/rust/compile/name_resolution21.rs
+++ b/gcc/testsuite/rust/compile/xfail/name_resolution21.rs
@@ -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!();