summaryrefslogtreecommitdiffstats
path: root/tests/rust/extern_2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rust/extern_2.rs')
-rw-r--r--tests/rust/extern_2.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/rust/extern_2.rs b/tests/rust/extern_2.rs
new file mode 100644
index 0000000..92a9c18
--- /dev/null
+++ b/tests/rust/extern_2.rs
@@ -0,0 +1,11 @@
+#[no_mangle]
+pub extern "C" fn first()
+{ }
+
+#[no_mangle]
+pub extern fn second()
+{ }
+
+#[no_mangle]
+pub fn third()
+{ }