summaryrefslogtreecommitdiffstats
path: root/tests/ui/native-library-link-flags/suggest-libname-only-2.rs
blob: dfa70e56db73ce8a1145a7adfe7340ec24a1b9ab (plain)
1
2
3
4
5
6
7
8
9
// build-fail
// compile-flags: --crate-type rlib
// error-pattern: could not find native static library `bar.lib`
// error-pattern: only provide the library name `bar`, not the full filename

#[link(name = "bar.lib", kind = "static")]
extern { }

pub fn main() { }