summaryrefslogtreecommitdiffstats
path: root/tests/run-make-fulldeps/symbols-include-type-name/lib.rs
blob: 37d445917674f3910b2c920af776f21d2eaccdf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub struct Def {
    pub id: i32,
}

impl Def {
    pub fn new(id: i32) -> Def {
        Def { id: id }
    }
}

#[no_mangle]
pub fn user() {
    let _ = Def::new(0);
}