summaryrefslogtreecommitdiffstats
path: root/tests/ui/foreign/foreign-mod-unused-const.rs
blob: 7d79c30f469063422fb4fda7a4c70013307190df (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616

mod foo {
    extern "C" {
        pub static errno: u32;
    }
}

pub fn main() {}