]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-70093.rs
Rollup merge of #106896 - Ezrashaw:str-cast-bool-emptyness, r=compiler-errors
[rust.git] / tests / ui / issues / issue-70093.rs
1 // run-pass
2 // compile-flags: -Zlink-native-libraries=no -Cdefault-linker-libraries=yes
3 // ignore-windows - this will probably only work on unixish systems
4 // ignore-fuchsia - missing __libc_start_main for some reason (#84733)
5 // ignore-cross-compile - default-linker-libraries=yes doesn't play well with cross compiling
6
7 #[link(name = "some-random-non-existent-library", kind = "static")]
8 extern "C" {}
9
10 fn main() {}