]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rmeta-rpass.rs
Mark __msan_track_origins as an exported symbol for LTO
[rust.git] / src / test / ui / rmeta-rpass.rs
1 // run-pass
2 // Test that using rlibs and rmeta dep crates work together. Specifically, that
3 // there can be both an rmeta and an rlib file and rustc will prefer the rlib.
4
5 // aux-build:rmeta-rmeta.rs
6 // aux-build:rmeta-rlib-rpass.rs
7
8 extern crate rmeta_aux;
9 use rmeta_aux::Foo;
10
11 pub fn main() {
12     let _ = Foo { field: 42 };
13 }