summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/redundant-libs/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-make-fulldeps/redundant-libs/main.rs')
-rw-r--r--src/test/run-make-fulldeps/redundant-libs/main.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/run-make-fulldeps/redundant-libs/main.rs b/src/test/run-make-fulldeps/redundant-libs/main.rs
new file mode 100644
index 000000000..90d185ff5
--- /dev/null
+++ b/src/test/run-make-fulldeps/redundant-libs/main.rs
@@ -0,0 +1,11 @@
+extern "C" {
+ fn bar();
+ fn baz();
+}
+
+fn main() {
+ unsafe {
+ bar();
+ baz();
+ }
+}