]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/test-allow-dead-extern-static-no-warning.rs
Auto merge of #106884 - clubby789:fieldless-enum-debug, r=michaelwoerister
[rust.git] / tests / ui / lint / test-allow-dead-extern-static-no-warning.rs
1 // run-pass
2 // compile-flags: --test
3
4 #![deny(dead_code)]
5
6 extern "C" {
7     #[allow(dead_code)]
8     static Qt: u64;
9 }
10
11 fn main() {}