(root)/
gcc-13.2.0/
gcc/
testsuite/
rust/
compile/
torture/
mod2.rs
mod foomod {
    pub struct Foo {}
}

impl foomod::Foo {
    pub fn new() -> Self {
        foomod::Foo {}
    }
}

fn main() {
    let _a = foomod::Foo::new();
}