9 lines
256 B
Rust
9 lines
256 B
Rust
|
// link-arg is not supposed to be usable in #[link] attributes
|
||
|
|
||
|
// compile-flags:
|
||
|
// error-pattern: error[E0458]: unknown link kind `link-arg`, expected one of: static, dylib, framework, raw-dylib
|
||
|
|
||
|
#[link(kind = "link-arg")]
|
||
|
extern "C" {}
|
||
|
pub fn main() {}
|