rust/tests/ui/extern/issue-28324.rs
Matthew Jasper 982b49494e Remove revisions for THIR unsafeck
This is to make the diff when stabilizing it easier to review.
2024-01-05 09:30:27 +00:00

9 lines
167 B
Rust

extern "C" {
static error_message_count: u32;
}
pub static BAZ: u32 = *&error_message_count;
//~^ ERROR use of extern static is unsafe and requires
fn main() {}