mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +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() {}
|