diff options
Diffstat (limited to 'tests/expectations/tests/vtable_recursive_sig.rs')
-rw-r--r-- | tests/expectations/tests/vtable_recursive_sig.rs | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/tests/expectations/tests/vtable_recursive_sig.rs b/tests/expectations/tests/vtable_recursive_sig.rs deleted file mode 100644 index ce62eeb0..00000000 --- a/tests/expectations/tests/vtable_recursive_sig.rs +++ /dev/null @@ -1,35 +0,0 @@ -/* automatically generated by rust-bindgen */ - - -#![allow(non_snake_case)] - - -#[repr(C)] -#[derive(Debug, Copy)] -pub struct Derived { - pub _base: Base, -} -#[test] -fn bindgen_test_layout_Derived() { - assert_eq!(::std::mem::size_of::<Derived>() , 8usize); - assert_eq!(::std::mem::align_of::<Derived>() , 8usize); -} -impl Clone for Derived { - fn clone(&self) -> Self { *self } -} -#[repr(C)] -pub struct Base__bindgen_vtable { -} -#[repr(C)] -#[derive(Debug, Copy)] -pub struct Base { - pub vtable_: *const Base__bindgen_vtable, -} -#[test] -fn bindgen_test_layout_Base() { - assert_eq!(::std::mem::size_of::<Base>() , 8usize); - assert_eq!(::std::mem::align_of::<Base>() , 8usize); -} -impl Clone for Base { - fn clone(&self) -> Self { *self } -} |