summaryrefslogtreecommitdiffstats
path: root/tests/rust/linestyle_crlf.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rust/linestyle_crlf.rs')
-rw-r--r--tests/rust/linestyle_crlf.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/rust/linestyle_crlf.rs b/tests/rust/linestyle_crlf.rs
new file mode 100644
index 0000000..49a317b
--- /dev/null
+++ b/tests/rust/linestyle_crlf.rs
@@ -0,0 +1,8 @@
+#[repr(C)]
+struct Dummy {
+ x: i32,
+ y: f32,
+}
+
+#[no_mangle]
+pub extern "C" fn root(d: Dummy) {}