summaryrefslogtreecommitdiff
path: root/libbindgen/tests/expectations/tests/dash_language.rs
diff options
context:
space:
mode:
Diffstat (limited to 'libbindgen/tests/expectations/tests/dash_language.rs')
-rw-r--r--libbindgen/tests/expectations/tests/dash_language.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/libbindgen/tests/expectations/tests/dash_language.rs b/libbindgen/tests/expectations/tests/dash_language.rs
new file mode 100644
index 00000000..148f9c32
--- /dev/null
+++ b/libbindgen/tests/expectations/tests/dash_language.rs
@@ -0,0 +1,12 @@
+/* automatically generated by rust-bindgen */
+
+
+#![allow(non_snake_case)]
+
+
+#[repr(C)]
+#[derive(Debug, Copy, Clone)]
+pub struct Foo<T> {
+ pub bar: ::std::os::raw::c_int,
+ pub _phantom_0: ::std::marker::PhantomData<T>,
+}