mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-14 17:48:10 +00:00
982b49494e
This is to make the diff when stabilizing it easier to review.
8 lines
140 B
Rust
8 lines
140 B
Rust
extern "C" {
|
|
pub static symbol: u32;
|
|
}
|
|
static CRASH: u32 = symbol;
|
|
//~^ ERROR use of extern static is unsafe and requires
|
|
|
|
fn main() {}
|