about summary refs log tree commit diff
path: root/tests/run-make/symbols-include-type-name/lib.rs
blob: 7fd42c8b4b473d034f3732f055aa84820c711e09 (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 }
    }
}

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