rust/tests/ui/rfcs/rfc-1717-dllimport/rename-to-empty.rs
2024-02-16 20:02:50 +00:00

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" {}