rust/tests/ui/issues/issue-41628.rs

8 lines
79 B
Rust

//@ check-pass
#![deny(dead_code)]
#[used]
static FOO: u32 = 0;
fn main() {}