rust/tests/ui/error-codes/E0060.rs

9 lines
117 B
Rust

extern "C" {
fn printf(_: *const u8, ...) -> u32;
}
fn main() {
unsafe { printf(); }
//~^ ERROR E0060
}