summaryrefslogtreecommitdiffstats
path: root/tests/ui/errors/issue-104621-extern-bad-file.rs
blob: 3f13d605232036ace6a2a913c5e27212c0fc27dc (plain)
1
2
3
4
5
6
7
8
// compile-flags: --extern foo={{src-base}}/errors/issue-104621-extern-bad-file.rs
// only-linux

extern crate foo;
//~^ ERROR extern location for foo is of an unknown type
//~| ERROR file name should be lib*.rlib or lib*.so
//~| ERROR can't find crate for `foo` [E0463]
fn main() {}