rust/tests/ui/rfcs/rfc-1717-dllimport/rename-to-empty.rs

8 lines
158 B
Rust

//@ compile-flags: -l foo:
//@ error-pattern: an empty renaming target was specified for library
#![crate_type = "lib"]
#[link(name = "foo")]
extern "C" {}