summary refs log tree commit diff
path: root/tests/ui/error-codes/E0622.rs
blob: 08c6d171296047c3545cb47df4ca3236a12c76fc (plain)
1
2
3
4
5
6
#![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(); } }