summaryrefslogtreecommitdiffstats
path: root/test cases/rust/17 staticlib link staticlib/branch.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test cases/rust/17 staticlib link staticlib/branch.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/test cases/rust/17 staticlib link staticlib/branch.rs b/test cases/rust/17 staticlib link staticlib/branch.rs
new file mode 100644
index 0000000..29e1cd0
--- /dev/null
+++ b/test cases/rust/17 staticlib link staticlib/branch.rs
@@ -0,0 +1,4 @@
+#[no_mangle]
+pub extern "C" fn what_have_we_here() -> i32 {
+ leaf::HOW_MANY * leaf::HOW_MANY
+}