]> git.lizzy.rs Git - rust.git/blob - tests/incremental/change_name_of_static_in_fn.rs
Rollup merge of #107769 - compiler-errors:pointer-like, r=eholk
[rust.git] / tests / incremental / change_name_of_static_in_fn.rs
1 // revisions:rpass1 rpass2 rpass3
2
3 // See issue #57692.
4
5 #![allow(warnings)]
6
7 fn main() {
8     #[cfg(rpass1)]
9     {
10         static map: u64 = 0;
11     }
12     #[cfg(not(rpass1))]
13     {
14         static MAP: u64 = 0;
15     }
16 }