about summary refs log tree commit diff
path: root/src/test/run-make/raw-dylib-c/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-make/raw-dylib-c/lib.rs')
-rw-r--r--src/test/run-make/raw-dylib-c/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/run-make/raw-dylib-c/lib.rs b/src/test/run-make/raw-dylib-c/lib.rs
index e185c4aec12..58f7ccb38ce 100644
--- a/src/test/run-make/raw-dylib-c/lib.rs
+++ b/src/test/run-make/raw-dylib-c/lib.rs
@@ -20,3 +20,7 @@ pub fn library_function() {
         extern_fn_3();
     }
 }
+
+fn main() {
+    library_function();
+}