summaryrefslogtreecommitdiff
path: root/tests/expectations/tests/opaque-tracing.rs
blob: b19a1e6869977962f75c862ea6a97ca6b10efc80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* automatically generated by rust-bindgen */


#![allow(non_snake_case)]


#[repr(C)]
#[derive(Debug, Copy)]
pub struct Container {
    pub _bindgen_opaque_blob: [u32; 2usize],
}
#[test]
fn bindgen_test_layout_Container() {
    assert_eq!(::std::mem::size_of::<Container>() , 8usize , concat ! (
               "Size of: " , stringify ! ( Container ) ));
    assert_eq! (::std::mem::align_of::<Container>() , 4usize , concat ! (
                "Alignment of " , stringify ! ( Container ) ));
}
impl Clone for Container {
    fn clone(&self) -> Self { *self }
}
extern "C" {
    #[link_name = "_Z3fooP9Container"]
    pub fn foo(c: *mut Container);
}