]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
nr2.0: Adjust test issue-2812.rs
authorOwen Avery <powerboat9.gamer@gmail.com>
Mon, 24 Mar 2025 22:27:41 +0000 (18:27 -0400)
committerP-E-P <32375388+P-E-P@users.noreply.github.com>
Mon, 7 Apr 2025 08:59:25 +0000 (08:59 +0000)
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>
gcc/testsuite/rust/compile/issue-2812.rs
gcc/testsuite/rust/compile/nr2/exclude

index 173259b12914713c814957f0eb3c302b25e9d56e..0de1738309f1793070522f106552a9e2cb1c595d 100644 (file)
@@ -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);
index 665e0cf4d99b686c97d353a595f5083ecdf4bb20..9502f398191241acf3388370c06a33eaddbfdee1 100644 (file)
@@ -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