2019-01-30 10:47:36 -06:00
|
|
|
// run-rustfix
|
2020-04-19 19:27:28 -05:00
|
|
|
// check-pass
|
2019-01-30 10:47:36 -06:00
|
|
|
|
|
|
|
#[allow(deprecated, unused_imports)]
|
|
|
|
use std::sync::atomic::{AtomicIsize, ATOMIC_ISIZE_INIT};
|
|
|
|
|
|
|
|
#[allow(dead_code)]
|
|
|
|
static FOO: AtomicIsize = AtomicIsize::new(0);
|
2020-07-25 12:49:46 -05:00
|
|
|
//~^ WARN use of deprecated constant
|
2019-01-30 10:47:36 -06:00
|
|
|
|
|
|
|
fn main() {}
|