Debian Codegraph @

gcc/testsuite/rust/compile/xfail/name_resolution21.rs

raw
1 // { dg-additional-options "-frust-name-resolution-2.0" }
2
3 pub mod foo {
4 pub macro bar() {}
5 }
6
7 use foo::bar;
8 use foo::bar;
9 // { dg-error ".bar. defined multiple times" "" { xfail *-*-* } .-1 }
10
11 fn main() {
12 bar!();
13 }