summaryrefslogtreecommitdiffstats
path: root/tests/rust/std_lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rust/std_lib.rs')
-rw-r--r--tests/rust/std_lib.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/rust/std_lib.rs b/tests/rust/std_lib.rs
new file mode 100644
index 0000000..05e0f2a
--- /dev/null
+++ b/tests/rust/std_lib.rs
@@ -0,0 +1,6 @@
+#[no_mangle]
+pub extern "C" fn root(
+ a: &Vec<String>,
+ b: &Option<i32>,
+ c: &Result<i32, String>
+) { }