rust/tests/ui/foreign/foreign-mod-unused-const.rs
2024-02-16 20:02:50 +00:00

12 lines
152 B
Rust

//@ run-pass
#![allow(dead_code)]
//@ pretty-expanded FIXME #23616
mod foo {
extern "C" {
pub static errno: u32;
}
}
pub fn main() {}