]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/test-allow-dead-extern-static-no-warning.rs
Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup
[rust.git] / src / test / 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() {}