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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
156 B
Rust
Raw Normal View History

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