blob: 54011bd697626769f4943eb69ff52edee2e0e5fc [file] [log] [blame]
// { dg-additional-options "-w" }
mod a {
pub fn foo() {}
}
mod b {
pub fn foo() {
super::a::foo();
}
}
mod foo {
pub struct bar(pub i32);
}
fn test() -> crate::foo::bar {
foo::bar(123)
}