☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
complex-path1.rs
☽
☼
gcc/testsuite/rust/compile/complex-path1.rs
code
plain
raw
1
// { dg-additional-options "-w" }
2
mod a {
3
pub fn foo() {}
4
}
5
6
mod b {
7
pub fn foo() {
8
super::a::foo();
9
}
10
}
11
12
mod foo {
13
pub struct bar(pub i32);
14
}
15
16
fn test() -> crate::foo::bar {
17
foo::bar(123)
18
}