rust/src/test/compile-fail/empty-linkname.rs

6 lines
102 B
Rust

// error-pattern:empty #[link_name] not allowed; use #[nolink].
#[link_name = ""]
extern mod foo {
}