Skip to content

Commit

Permalink
Change name resolution algorithm in test
Browse files Browse the repository at this point in the history
Change the name resolution algorithm to name resolution 2.0 in one name
resolution test.

gcc/testsuite/ChangeLog:

	* rust/compile/name_resolution18.rs: Add flag to enable name resolution
	algorithm.

Signed-off-by: Pierre-Emmanuel Patry <[email protected]>
  • Loading branch information
P-E-P authored and CohenArthur committed Nov 15, 2023
1 parent 2ded544 commit 5cb5e66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gcc/testsuite/rust/compile/name_resolution18.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// { dg-options "-frust-name-resolution-2.0" }

struct Marker;

struct Foo {
Expand Down

0 comments on commit 5cb5e66

Please sign in to comment.