☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
xfail
/
name_resolution21.rs
☽
☼
gcc/testsuite/rust/compile/xfail/name_resolution21.rs
code
plain
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
}