]> git.proxmox.com Git - rustc.git/blob - src/test/incremental/static_stable_hash/issue-49301.rs
Update unsuspicious file list
[rustc.git] / src / test / incremental / static_stable_hash / issue-49301.rs
1 // https://github.com/rust-lang/rust/issues/49081
2
3 // revisions:rpass1 rpass2
4
5 #[cfg(rpass1)]
6 pub static A: &str = "hello";
7 #[cfg(rpass2)]
8 pub static A: &str = "xxxxx";
9
10 #[cfg(rpass1)]
11 fn main() {
12 assert_eq!(A, "hello");
13 }
14
15 #[cfg(rpass2)]
16 fn main() {
17 assert_eq!(A, "xxxxx");
18 }