(root)/
gcc-13.2.0/
gcc/
testsuite/
rust/
link/
trait_import_0.rs
extern crate trait_import_1;
use trait_import_1::Add;

struct Foo(i32);

impl Add for Foo {
    type Output = Foo;

    fn add(self, other: Foo) -> Foo {
        Foo(self.0 + other.0)
    }
}

fn main() -> i32 {
    let a;
    a = Foo(1) + Foo(2);

    0
}