Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify test cfg1.rs for name resolution 2.0 #3208

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gcc/testsuite/rust/compile/cfg1.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// { dg-additional-options "-w" }
// { dg-additional-options "-w -frust-name-resolution-2.0" }
extern "C" {
fn printf(s: *const i8, ...);
}
Expand Down Expand Up @@ -27,5 +27,5 @@ fn test() {

fn main() {
test();
// { dg-error "Cannot find path .test. in this scope" "" { target *-*-* } .-1 }
// { dg-error "could not resolve path expression: .test." "" { target *-*-* } .-1 }
}
1 change: 0 additions & 1 deletion gcc/testsuite/rust/compile/nr2/exclude
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ macros/builtin/recurse2.rs
macros/builtin/include3.rs
macros/builtin/include4.rs
canonical_paths1.rs
cfg1.rs
cfg3.rs
cfg4.rs
cfg5.rs
Expand Down
Loading