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