summaryrefslogtreecommitdiff
path: root/tests/expectations/inner_template_self.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expectations/inner_template_self.rs')
-rw-r--r--tests/expectations/inner_template_self.rs22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/expectations/inner_template_self.rs b/tests/expectations/inner_template_self.rs
index 60af23ee..b965b92d 100644
--- a/tests/expectations/inner_template_self.rs
+++ b/tests/expectations/inner_template_self.rs
@@ -6,20 +6,20 @@
#[repr(C)]
#[derive(Debug, Copy, Clone)]
-pub struct Struct_LinkedList<T> {
- pub next: *mut Struct_LinkedList<T>,
- pub prev: *mut Struct_LinkedList<T>,
+pub struct LinkedList<T> {
+ pub next: *mut LinkedList<T>,
+ pub prev: *mut LinkedList<T>,
}
#[repr(C)]
#[derive(Debug, Copy)]
-pub struct Struct_InstantiateIt {
- pub m_list: Struct_LinkedList<::std::os::raw::c_int>,
-}
-impl ::std::clone::Clone for Struct_InstantiateIt {
- fn clone(&self) -> Self { *self }
+pub struct InstantiateIt {
+ pub m_list: LinkedList<::std::os::raw::c_int>,
}
#[test]
-fn bindgen_test_layout_Struct_InstantiateIt() {
- assert_eq!(::std::mem::size_of::<Struct_InstantiateIt>() , 16usize);
- assert_eq!(::std::mem::align_of::<Struct_InstantiateIt>() , 8usize);
+fn bindgen_test_layout_InstantiateIt() {
+ assert_eq!(::std::mem::size_of::<InstantiateIt>() , 16usize);
+ assert_eq!(::std::mem::align_of::<InstantiateIt>() , 8usize);
+}
+impl Clone for InstantiateIt {
+ fn clone(&self) -> Self { *self }
}