]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/test-allow-dead-extern-static-no-warning.rs
Rollup merge of #106397 - compiler-errors:new-solver-impl-wc, r=lcnr
[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() {}