summaryrefslogtreecommitdiffstats
path: root/tests/rust/function_sort_name.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rust/function_sort_name.rs')
-rw-r--r--tests/rust/function_sort_name.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/rust/function_sort_name.rs b/tests/rust/function_sort_name.rs
new file mode 100644
index 0000000..ecd23c1
--- /dev/null
+++ b/tests/rust/function_sort_name.rs
@@ -0,0 +1,15 @@
+#[no_mangle]
+pub extern "C" fn C()
+{ }
+
+#[no_mangle]
+pub extern "C" fn B()
+{ }
+
+#[no_mangle]
+pub extern "C" fn D()
+{ }
+
+#[no_mangle]
+pub extern "C" fn A()
+{ }