rust/tests/ui/rfcs/rfc-1717-dllimport/multiple-renames.rs

8 lines
165 B
Rust
Raw Normal View History

// compile-flags: -l foo:bar -l foo:baz
// error-pattern: multiple renamings were specified for library
#![crate_type = "lib"]
#[link(name = "foo")]
extern "C" {}