rust/tests/incremental/change_name_of_static_in_fn.rs

17 lines
218 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;
}
}