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