summaryrefslogtreecommitdiff
path: root/tests/expectations/tests/template-param-usage-13.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expectations/tests/template-param-usage-13.rs')
-rw-r--r--tests/expectations/tests/template-param-usage-13.rs20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/expectations/tests/template-param-usage-13.rs b/tests/expectations/tests/template-param-usage-13.rs
new file mode 100644
index 00000000..c77da097
--- /dev/null
+++ b/tests/expectations/tests/template-param-usage-13.rs
@@ -0,0 +1,20 @@
+/* automatically generated by rust-bindgen */
+
+
+#![allow(non_snake_case)]
+
+
+#[repr(C)]
+#[derive(Debug, Default, Copy, Clone)]
+pub struct BaseIgnoresT {
+ pub x: ::std::os::raw::c_int,
+}
+#[repr(C)]
+#[derive(Debug, Copy, Clone)]
+pub struct CrtpUsesU<U> {
+ pub _base: BaseIgnoresT,
+ pub usage: U,
+}
+impl <U> Default for CrtpUsesU<U> {
+ fn default() -> Self { unsafe { ::std::mem::zeroed() } }
+}