1 // Test incremental compilation tracking where we change nothing
2 // in between revisions (hashing should be stable).
4 // revisions:rpass1 rpass2
5 // compile-flags: -Z query-dep-graph
7 #![feature(rustc_attrs)]
27 #[rustc_clean(cfg="rpass2")]
28 pub fn use_X() -> u32 {
29 let x: X = X { x: 22 };
33 #[rustc_clean(cfg="rpass2")]
34 pub fn use_EmbedX(x: EmbedX) -> u32 {
35 let x: X = X { x: 22 };
39 #[rustc_clean(cfg="rpass2")]
41 let x: Y = Y { y: 'c' };