summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-intrinsics.rs
blob: e0dc3cc579d79d4d18a63bd7cd88cdbfe28080dd (plain)
1
2
3
4
5
6
7
8
extern "rust-intrinsic" {   //~ ERROR intrinsics are subject to change
    fn bar(); //~ ERROR unrecognized intrinsic function: `bar`
}

extern "rust-intrinsic" fn baz() {} //~ ERROR intrinsics are subject to change
//~^ ERROR intrinsic must be in

fn main() {}