]>
git.proxmox.com Git - rustc.git/blob - src/test/incremental/rlib_cross_crate/b.rs
1 // Same test as `type_alias_cross_crate`, but with
2 // `no-prefer-dynamic`, ensuring that we test what happens when we
3 // build rlibs (before we were only testing dylibs, which meant we
4 // didn't realize we had to preserve a `bc` file as well).
7 // revisions:rpass1 rpass2 rpass3
9 // compile-flags: -Z query-dep-graph
11 #![feature(rustc_attrs)]
15 #[rustc_clean(except="typeck,optimized_mir", cfg="rpass2")]
16 #[rustc_clean(cfg="rpass3")]
17 pub fn use_X() -> u32 {
22 #[rustc_clean(cfg="rpass2")]
23 #[rustc_clean(cfg="rpass3")]