]>
Commit | Line | Data |
---|---|---|
9e0c209e SL |
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. | |
3157f602 | 3 | |
9e0c209e | 4 | // revisions:rpass1 rpass2 |
5bcae85e | 5 | |
e74abb32 | 6 | // ignore-asmjs wasm2js does not support source maps yet |
9e0c209e | 7 | // compile-flags: -g -Z query-dep-graph |
5bcae85e | 8 | |
9e0c209e | 9 | #![feature(rustc_attrs)] |
a7813a04 | 10 | |
9e0c209e SL |
11 | #[cfg(rpass1)] |
12 | pub fn main() {} | |
13 | ||
14 | #[cfg(rpass2)] | |
ba9703b0 XL |
15 | #[rustc_dirty(label="hir_owner", cfg="rpass2")] |
16 | #[rustc_dirty(label="hir_owner_nodes", cfg="rpass2")] | |
9e0c209e | 17 | pub fn main() {} |