rust/tests/ui/rfc-1717-dllimport/rename-to-empty.rs
2023-01-11 09:32:08 +00:00

8 lines
156 B
Rust

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