summaryrefslogtreecommitdiffstats
path: root/tests/run-make/raw-dylib-inline-cross-dylib/lib_wrapper.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/raw-dylib-inline-cross-dylib/lib_wrapper.rs')
-rw-r--r--tests/run-make/raw-dylib-inline-cross-dylib/lib_wrapper.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/run-make/raw-dylib-inline-cross-dylib/lib_wrapper.rs b/tests/run-make/raw-dylib-inline-cross-dylib/lib_wrapper.rs
new file mode 100644
index 000000000..47191b8de
--- /dev/null
+++ b/tests/run-make/raw-dylib-inline-cross-dylib/lib_wrapper.rs
@@ -0,0 +1,6 @@
+extern crate raw_dylib_test;
+
+#[inline]
+pub fn inline_library_function_calls_inline() {
+ raw_dylib_test::inline_library_function();
+}