mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-14 01:25:54 +00:00
982b49494e
This is to make the diff when stabilizing it easier to review.
9 lines
167 B
Rust
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() {}
|