rust/tests/ui/empty/empty-linkname.rs

5 lines
86 B
Rust

#[link(name = "")] //~ ERROR: link name must not be empty
extern "C" {}
fn main() {}