summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/test-allow-dead-extern-static-no-warning.rs
blob: 2583e431ec173e6cfa780900bb3ab8c1de9b9bf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-pass
// compile-flags: --test

#![deny(dead_code)]

extern "C" {
    #[allow(dead_code)]
    static Qt: u64;
}

fn main() {}