summaryrefslogtreecommitdiff
path: root/tests/expectations/inherit_named.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expectations/inherit_named.rs')
-rw-r--r--tests/expectations/inherit_named.rs17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/expectations/inherit_named.rs b/tests/expectations/inherit_named.rs
new file mode 100644
index 00000000..8081c649
--- /dev/null
+++ b/tests/expectations/inherit_named.rs
@@ -0,0 +1,17 @@
+/* automatically generated by rust-bindgen */
+
+
+#![allow(non_snake_case)]
+
+
+#[repr(C)]
+#[derive(Debug, Copy, Clone)]
+pub struct Wohoo<T> {
+ pub _address: u8,
+ pub _phantom_0: ::std::marker::PhantomData<T>,
+}
+#[repr(C)]
+#[derive(Debug, Copy, Clone)]
+pub struct Weeee<T> {
+ pub _base: T,
+}