1 #![feature(const_extern_fn)]
3 const unsafe extern "C" fn foo() -> usize { 5 }
7 //~^ ERROR call to unsafe function is unsafe and requires unsafe function or block
9 //~^ ERROR call to unsafe function is unsafe and requires unsafe function or block