summaryrefslogtreecommitdiffstats
path: root/src/test/ui/native-library-link-flags/suggest-libname-only-1.rs
blob: abf988a7c1ed380e23957ec3bd31bd6b00cdfe87 (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 `libfoo.a`
// error-pattern: only provide the library name `foo`, not the full filename

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

pub fn main() { }