blob: 5a63b5b8598bc1ea2247967a008c9839bf07d5f5 [file] [log] [blame]
// run-pass
// Test that using rlibs and rmeta dep crates work together. Specifically, that
// there can be both an rmeta and an rlib file and rustc will prefer the rlib.
// aux-build:rmeta-rmeta.rs
// aux-build:rmeta-rlib-rpass.rs
extern crate rmeta_aux;
use rmeta_aux::Foo;
pub fn main() {
let _ = Foo { field: 42 };
}