rust/tests/incremental/change_name_of_static_in_fn.rs
2023-01-11 09:32:08 +00:00

17 lines
217 B
Rust

// revisions:rpass1 rpass2 rpass3
// See issue #57692.
#![allow(warnings)]
fn main() {
#[cfg(rpass1)]
{
static map: u64 = 0;
}
#[cfg(not(rpass1))]
{
static MAP: u64 = 0;
}
}