summaryrefslogtreecommitdiffstats
path: root/tests/rust/zst.rs
blob: 8a3e4673931cc956046e2af2f8ca94f5d6c8e86c (plain)
1
2
3
4
5
6
7
8
9
10
#[repr(C)]
pub struct TraitObject {
    pub data: *mut (),
    pub vtable: *mut (),
}

#[no_mangle]
pub extern "C" fn root(ptr: *const (), t: TraitObject) -> *mut () {
    std::ptr::null_mut()
}