1 // Test that the crate hash is not affected by reordering items.
3 // revisions:rpass1 rpass2 rpass3
4 // compile-flags: -Z query-dep-graph
6 #![feature(rustc_attrs)]
8 // Check that reordering otherwise identical items is not considered a
10 #[rustc_clean(label="Krate", cfg="rpass2")]
12 // But removing an item, naturally, is.
13 #[rustc_dirty(label="Krate", cfg="rpass3")]