summaryrefslogtreecommitdiffstats
path: root/tests/run-make/c-link-to-rust-dylib/bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/c-link-to-rust-dylib/bar.c')
-rw-r--r--tests/run-make/c-link-to-rust-dylib/bar.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/run-make/c-link-to-rust-dylib/bar.c b/tests/run-make/c-link-to-rust-dylib/bar.c
new file mode 100644
index 000000000..bb4036b06
--- /dev/null
+++ b/tests/run-make/c-link-to-rust-dylib/bar.c
@@ -0,0 +1,6 @@
+void foo();
+
+int main() {
+ foo();
+ return 0;
+}