1 // This test makes sure that just changing a definition's location in the
2 // source file also changes its incr. comp. hash, if debuginfo is enabled.
4 // revisions:rpass1 rpass2
6 // compile-flags: -C overflow-checks=on -Z query-dep-graph
8 #![feature(rustc_attrs)]
9 #![rustc_partition_codegened(module = "spans_significant_w_panic", cfg = "rpass2")]
13 if std::hint::black_box(false) {
19 #[rustc_clean(cfg = "rpass2")]
21 if std::hint::black_box(false) {