]> git.proxmox.com Git - rustc.git/blame - src/test/incremental/spans_significant_w_debuginfo.rs
New upstream version 1.54.0+dfsg1
[rustc.git] / src / test / incremental / spans_significant_w_debuginfo.rs
CommitLineData
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)]
12pub fn main() {}
13
14#[cfg(rpass2)]
17df50a5 15#[rustc_clean(except="hir_owner,hir_owner_nodes,optimized_mir", cfg="rpass2")]
9e0c209e 16pub fn main() {}