2024-02-16 20:02:50 +00:00
|
|
|
//@ aux-build:found-staticlib.rs
|
2022-12-20 23:30:14 +13:00
|
|
|
|
2024-02-16 20:02:50 +00:00
|
|
|
//@ normalize-stderr-test: "\.nll/" -> "/"
|
|
|
|
//@ normalize-stderr-test: "\\\?\\" -> ""
|
|
|
|
//@ normalize-stderr-test: "(lib)?found_staticlib\.[a-z]+" -> "libfound_staticlib.somelib"
|
2022-12-20 23:30:14 +13:00
|
|
|
|
|
|
|
extern crate found_staticlib; //~ ERROR E0462
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
found_staticlib::foo();
|
|
|
|
}
|