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_dirty(label="typeck_tables_of", cfg="rpass2")]
16 #[rustc_clean(label="typeck_tables_of", cfg="rpass3")]
17 pub fn use_X() -> u32 {
22 #[rustc_clean(label="typeck_tables_of", cfg="rpass2")]
23 #[rustc_clean(label="typeck_tables_of", cfg="rpass3")]