about summary refs log tree commit diff
path: root/tests/run-make/staticlib-broken-bitcode/rust_lib.rs
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-02-14 10:04:19 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-02-14 10:54:56 +0000
commit9147b6dd2878763208d90b41bca18d9144fd5bf8 (patch)
treeda8397a2fbebc19318035a3c413e1c8d8e26e75b /tests/run-make/staticlib-broken-bitcode/rust_lib.rs
parent736ef0a4cee37e35caa6efb1121a776e00a9de4a (diff)
Add test
Diffstat (limited to 'tests/run-make/staticlib-broken-bitcode/rust_lib.rs')
-rw-r--r--tests/run-make/staticlib-broken-bitcode/rust_lib.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/run-make/staticlib-broken-bitcode/rust_lib.rs b/tests/run-make/staticlib-broken-bitcode/rust_lib.rs
new file mode 100644
index 00000000000..c76b0f25433
--- /dev/null
+++ b/tests/run-make/staticlib-broken-bitcode/rust_lib.rs
@@ -0,0 +1,6 @@
+#![crate_type = "rlib"]
+
+#[link(name = "thin_archive", kind = "static")]
+extern "C" {
+    pub fn simple_fn();
+}