mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 05:04:23 +00:00
7 lines
250 B
Rust
7 lines
250 B
Rust
#![feature(intrinsics)]
|
|
extern "rust-intrinsic" {
|
|
pub static atomic_singlethreadfence_seqcst : unsafe extern "rust-intrinsic" fn();
|
|
//~^ ERROR intrinsic must be a function [E0622]
|
|
}
|
|
fn main() { unsafe { atomic_singlethreadfence_seqcst(); } }
|