]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/test-allow-dead-extern-static-no-warning.rs
Auto merge of #106458 - albertlarsan68:move-tests, r=jyn514
[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() {}