]> git.proxmox.com Git - rustc.git/blobdiff - src/test/run-make-fulldeps/no-duplicate-libs/main.rs
New upstream version 1.51.0+dfsg1
[rustc.git] / src / test / run-make-fulldeps / no-duplicate-libs / main.rs
index 298018ca7183aa9525cdbb7a9486665b20944086..b25ef35ada68ebe68e65dc191751f5c0f62fb274 100644 (file)
@@ -1,7 +1,7 @@
 #[link(name = "foo")] // linker should drop this library, no symbols used
 #[link(name = "bar")] // symbol comes from this library
 #[link(name = "foo")] // now linker picks up `foo` b/c `bar` library needs it
-extern {
+extern "C" {
     fn bar();
 }