mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
11 lines
386 B
Rust
11 lines
386 B
Rust
//@ run-pass
|
|
//@ compile-flags: -Zlink-directives=no
|
|
//@ ignore-windows - this will probably only work on unixish systems
|
|
//@ ignore-fuchsia - missing __libc_start_main for some reason (#84733)
|
|
//@ ignore-cross-compile - default-linker-libraries=yes doesn't play well with cross compiling
|
|
|
|
#[link(name = "some-random-non-existent-library", kind = "static")]
|
|
extern "C" {}
|
|
|
|
fn main() {}
|