rust/tests/ui/lint/test-allow-dead-extern-static-no-warning.rs
2023-01-11 09:32:08 +00:00

12 lines
132 B
Rust

// run-pass
// compile-flags: --test
#![deny(dead_code)]
extern "C" {
#[allow(dead_code)]
static Qt: u64;
}
fn main() {}