(root)/
gcc-13.2.0/
gcc/
testsuite/
rust/
compile/
torture/
traits2.rs
trait Foo {
    fn bar() -> i32;
}

struct Test<T>(T);

impl<T> Foo for Test<T> {
    fn bar() -> i32 {
        123
    }
}

fn main() {
    let a: i32;
    a = Test::<i32>::bar();
}