rust/tests/incremental/change_name_of_static_in_fn.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
218 B
Rust
Raw Normal View History

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