mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
982b49494e
This is to make the diff when stabilizing it easier to review.
10 lines
157 B
Rust
10 lines
157 B
Rust
#![feature(intrinsics)]
|
|
|
|
extern "C" {
|
|
pub static FOO: extern "rust-intrinsic" fn();
|
|
}
|
|
|
|
fn main() {
|
|
FOO() //~ ERROR: use of extern static is unsafe
|
|
}
|