aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Avery <powerboat9.gamer@gmail.com>2025-03-24 18:27:41 -0400
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2025-04-07 08:59:25 +0000
commit22bf192a72383a1f41d92a833487b1eacbe30446 (patch)
tree4cfab27d1b7355a91da384a46aa2aacdbc39f5cc
parent3f2e8aef6f9e70da075261da80fa1400a2341634 (diff)
downloadgcc-22bf192a72383a1f41d92a833487b1eacbe30446.zip
gcc-22bf192a72383a1f41d92a833487b1eacbe30446.tar.gz
gcc-22bf192a72383a1f41d92a833487b1eacbe30446.tar.bz2
nr2.0: Adjust test issue-2812.rs
gcc/testsuite/ChangeLog: * rust/compile/issue-2812.rs: Avoid multiple definition error. * rust/compile/nr2/exclude: Remove issue-2812.rs. Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
-rw-r--r--gcc/testsuite/rust/compile/issue-2812.rs4
-rw-r--r--gcc/testsuite/rust/compile/nr2/exclude1
2 files changed, 2 insertions, 3 deletions
diff --git a/gcc/testsuite/rust/compile/issue-2812.rs b/gcc/testsuite/rust/compile/issue-2812.rs
index 173259b..0de1738 100644
--- a/gcc/testsuite/rust/compile/issue-2812.rs
+++ b/gcc/testsuite/rust/compile/issue-2812.rs
@@ -1,4 +1,4 @@
// { dg-additional-options "-frust-compile-until=astvalidation" }
fn foo_1(&self);
-fn foo_1(&mut self);
-fn foo_1(self);
+fn foo_2(&mut self);
+fn foo_3(self);
diff --git a/gcc/testsuite/rust/compile/nr2/exclude b/gcc/testsuite/rust/compile/nr2/exclude
index 665e0cf..9502f39 100644
--- a/gcc/testsuite/rust/compile/nr2/exclude
+++ b/gcc/testsuite/rust/compile/nr2/exclude
@@ -1,7 +1,6 @@
canonical_paths1.rs
cfg1.rs
generics9.rs
-issue-2812.rs
issue-3315-2.rs
lookup_err1.rs
macros/mbe/macro6.rs