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

8 lines
167 B
Rust

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