summaryrefslogtreecommitdiff
path: root/tests/expectations/tests/template-param-usage-2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expectations/tests/template-param-usage-2.rs')
-rw-r--r--tests/expectations/tests/template-param-usage-2.rs22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/expectations/tests/template-param-usage-2.rs b/tests/expectations/tests/template-param-usage-2.rs
new file mode 100644
index 00000000..6dc21b68
--- /dev/null
+++ b/tests/expectations/tests/template-param-usage-2.rs
@@ -0,0 +1,22 @@
+/* automatically generated by rust-bindgen */
+
+
+#![allow(non_snake_case)]
+
+
+#[repr(C)]
+#[derive(Debug, Copy, Clone)]
+pub struct UsesTemplateParameter<T> {
+ pub t: T,
+}
+#[repr(C)]
+#[derive(Debug, Copy, Clone)]
+pub struct UsesTemplateParameter_AlsoUsesTemplateParameter<T> {
+ pub also: T,
+}
+impl <T> Default for UsesTemplateParameter_AlsoUsesTemplateParameter<T> {
+ fn default() -> Self { unsafe { ::std::mem::zeroed() } }
+}
+impl <T> Default for UsesTemplateParameter<T> {
+ fn default() -> Self { unsafe { ::std::mem::zeroed() } }
+}