blob: edab9850d796f6d2234a96b95b43c0a99cc262e3 [file] [log] [blame] [edit]
//@ run-rustfix
#![allow(dead_code)]
extern "C" {
unsafe fn foo(); //~ ERROR items in unadorned `extern` blocks cannot have safety qualifiers
}
fn main() {}