summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0622.rs
blob: ae7378a707e5c49986018aa17db3edb7a2766611 (plain)
1
2
3
4
5
6
#![feature(intrinsics)]
extern "rust-intrinsic" {
    pub static breakpoint : unsafe extern "rust-intrinsic" fn();
    //~^ ERROR intrinsic must be a function [E0622]
}
fn main() { unsafe { breakpoint(); } }