blob: 3ad9ba006d3da9149298a0c71c5e30927d4d8453 [file] [log] [blame] [edit]
extern "C" {
const fn foo();
//~^ ERROR functions in `extern` blocks cannot have qualifiers
const unsafe fn bar();
//~^ ERROR functions in `extern` blocks cannot have qualifiers
//~| ERROR items in unadorned `extern` blocks cannot have safety qualifiers
}
fn main() {}